skysight-inc/HackerNews huggingface dataset:
>> employer simply doesn't extend the employment

> Simple! Simple for the employer but a major issue for the employee.

Well, yes, but from what I see around me, it's a standard practice to first
hire for the probationary period of three months, so an employee has to take
this into the account. And unless the employee is highly incompetent or the
employer is outright hostile, the probationary period usually ends with regular
employment.

It's good that the Europe is generally favourable towards the employees, but
employers also need a little slack, don't you think? We can't only put
obstacles in their way.
Well in my hypothetical it does, so yes. The gym can still play what it wants. You could argue that it ought to be responsible, which is fine, but there's no entitlement.
The problem isn't as bad as you might expect; it is for example possible to make a vector of pointers into each of the elements of the LinkedList and sort that; eg.

let vec_of_refs = ll.iter_mut().collect();
vec_of_refs.sort_unstable();

The downside is you can't have this vector at the same time as you access the underlying LinkedList. Another option you can do with other container types is to have a vector of indices, but this is extremely inefficient with a LinkedList.

A popular approach is to have both views be indices into an underlying vector where the actual, mutable data is stored. If that isn't good for your situation, it's probably time to use `unsafe` to build an appropriate data structure.
In 1996, with a typical 28.8k modem, that page would've taken more than 20 seconds to load. I'm quite sentimental and nostalgic about the web of yore but let's not pretend everything wasn't a lot slower for most people back then.
>IIRC he continues to write from prison,

Someone suggest him to open wordpress acc.. aahhh
I was so tired of being forced to buy overpriced hardware from Apple that I'm not even happy with just because I work with OS X.

I then bought a new Dell XPS 13 Developer Edition and was surprised that a) the scaling does not even work with Dells own "tweaked" Ubuntu (even the installer looked horrible) and b) "coil whine" is a thing at this price point. I was so unhappy with it that I sold it and replaced it with an HP spectre x360. Except for thunderbolt everything worked fine so for me there was no real advantage over the "preinstalled" Ubuntu on the Dell.
I've been using Rails and React for a couple of projects, one using Rails API mode with a separate React front end, and one using react-rails. I'd argue that with webpacker built in, there's no reason not to use React. You get server side rendering built in, automatic production builds and hot reloading. It's a great Dev experience out of the box with no setup.

Of course this depends on your frontend and your goals. If you're just going to have a minimal static frontend, then maybe React isn't a great choice. Although I'd still use React and just render it to static HTML at build time.
These countries' leaders would like nothing better than for people to boycott Facebook. The less information the "voter" has in these places the better for them.

It's not West where we can assume benevolence or at least competence in our leadership (ok, we... used to be able to do that, which makes this even scarier).

These people take everything they can until their caught, and if you're a small organization you can bet that you'll never be on a newsstand or build an audience without going to where people already are (hint: it's Facebook)
I do think that consumers would be better off with something like 100 MB of free data per month than an unlimited access to Facebook.

And I do think that Facebook wouldn't lose a lot compared to the current system. 98.41%[0] of the total social media traffic would still go to Facebook.

[0] I chose that percentage because that's the percentage for my country, with YouTube at the second place with .53%: http://gs.statcounter.com/social-media-stats/all/bosnia-and-...
> Unless you're saying the mutex wraps the vector implying that each vector can have one corresponding mutex at most?

The mutex owns the vector. Locking it returns a MutexGuard, which is a smart pointer/reference to the data it owns[0]. You can nest mutexes and structures if you need something slightly more flexible than a single big lock.

Having multiple (side-by-side( locks for a single structure sounds like a recipe for concurrency bugs & deadlocks.

> Which seems quite limiting?

If your semantics call for a mutex it makes perfect sense. There are other types of locks if you don't want a 1:1 relationship e.g. RWLock allows multiple readers XOR a single writer.

[0] mutable, so you can replace the structure behind the guard, you just can't keep a reference to it after you release the lock due to Rust's borrow checking semantics
If you're the kind of programmer who inputs HTML into a comment system that doesn't support it...
check out the Rust implementation that Armin made for Sentry: https://blog.sentry.io/2016/10/19/fixing-python-performance-...
I'm _the_ highest voted commenter on the site, by a weird and embarrassing margin, and I'm pro-labor (though not anti-capital).
As an American I am absolutely shocked anybody thought that was a good idea. If an average person making $50k/year finds it affordable to pay $1200/month on housing, they're just going to shop for a house that will yield that desired monthly payment. When interest rates are low, how is this not a recipe for runaway housing costs?

What's worse is that this is actually a huge subsidy for landlords, unless their mortgage terms are limited to be much shorter. A landlord can afford the downpayment to finance many homes at low interest rates, whereas a poorer person may be able to make the payments on such a mortgage, but can't save up enough to afford a down payment.
Not sure why you're being downvoted.

If there's one thing I've learned, when researching how diet can affect myself, it's that different humans react to different food types and intake, in different ways.

If a ketogenic diet works for you, the same diet may not work for others. Similarly, other types of diet may not work for you.

It's for that reason I decided to vote you up again - there is no reason to downvote what you posted.

One particularly enlightening book which changed my outlook on diet, raised an eyebrow, and just clicked with me, was "Eat Fat and Grow Slim", written in 1958 by Richard Mackarness, M.B.,B.S.
Serbia doesn't. Other countries in this experiment (like Cambodia and Venezuela) do.
It’s around 64 KB, which means around 10 seconds load time on a modem, if I remember correctly. That’s very comparable to the current state of affairs.
This exists. https://flattr.com/ (they changed their model, so if you remember the "Flattr this" buttons, they are no longer needed)
Honestly I wasn't sure what point the commenter was making, and was looking for clarification. Perhaps they were being sarcastic by seriously meaning to say that FB is a treat for "democracies" - in the sense that for targeting and accessing voters to potentially manipulate is a piece of cake with FB's ad targeting. It would act as a way to point out otherwise if it was a typo or not as well.
That's what I thought. I wonder what the advantage is at that point, over using, say, an inline jpg for the low quality version.
Eleven Light-Years Away, an Earth-Size Planet That May Be Habitable
No, the tech labor force needs to organize to force tech firms to operate in ways that respect the majority of their employees, rather than ignoring them entirely.
While a drop in house prices might, in theory, negatively effect the economy in the short term as homeowners, in theory, have less disposable income, in the long term land prices/speculation (and when people talk about house prices, they really mean land prices) are a huge rentier suck on the economy, and should be taxed to the point that speculation or 'investment' in land itself (not the development of it) reaps zero gains.

After all, why should anyone profit merely by owning land, when the value of that land really reflects other people's economic activity and development in the surrounding area.
In fact, I'd guess slower than the modern cnn.com homepage on modern hardware and software.
For security and possibly performance purposes, I would like to forego sending source maps to the client in Production and instead store the source maps, using versioning on the server and just send serialized client side stack traces to the server for error reporting. Has anyone done this before? I tried digging into this several times in the past but came up empty.
Does sound work in Ubuntu on the x360? I bought one when it first came out, but there was an issue with the BIOS (from my recollection, Windows turned off the sounds but Ubuntu couldn't turn it back on) and had to return it.

Very nice build, although the battery made it back heavy.
in India, most laptop vendors sell a version with Ubuntu. Which is why India is kind of turning as the real market for desktop linux over the west - where it is affordable for most people to buy a macbook.

This is a very large market that Fedora is potentially ignoring. I have much better experience installing and running fedora on bleeding edge hardware (NVME, etc) than any other OS. Currently I run a XPS 9350 non-developer edition with Fedora 27 and everything works out of the box.
TFoC – A compiler in 256 LoC
Yes, I agree that the applications for word vectors are not made as clearly as it should be. One direct application is as the first layer of a neural network [1], which could be part of either a 1-dimensional convolution or a recurrent neural network. Using pre-trained word vectors is a form of transfer learning and allows for much more predictive models with smaller amounts of training data.

[1] https://blog.keras.io/using-pre-trained-word-embeddings-in-a...
I don't get it. When prices are high, it's a housing crisis. When prices are going down, it's a housing crisis. It's almost as if news articles just need to be written regardless of the reason.
why is it better to silently fail than to throw an exception simply because it's running on a web browser?
Very Cool: Syntax on a Post Card
"Both are used by white supremacists", except in this instance it's Blacks and Hispanics using it against each other, so I'm not sure why you brought whites into it.
We got rid of mortgage interest relief in the UK so I wouldn't rule it out completely.
Wow. And I've seen people here (justifiably) roll their eyes over 6 and 7 year auto loans.

A 140 year mortgage can't possibly be appreciably different from renting.
Is it obvious though? I thought maybe they were being funny or clever by perhaps meaning to use the word treat. Responded further here - https://news.ycombinator.com/item?id=15703788

No jab intended. I think assumptions are dangerous as well, and lead to more problems - including internal distress - instead of perhaps putting inquiry forward to ask for intentions instead. Obviously you're getting an answer from me now, however you still may not believe my intentions.
> Your kids might be dead by the time it's paid off, you'll never own it.

Exactly right. I don't know anyone who buys with the intention to own.

Effectively you rent it from the bank. I don't mind, I mean I don't mind renting from the bank. I pay off my mortgage (2% per year, so 50 years) but only as long as its reasonably high, in order to lower interest rate costs and reduce the risk of being under water.

I have no interest in paying it off completely, so I'll stop paying 2% per year when the mortgage is down to e.g. 40% of the value. Obviosly as a banks have zero interest in your customers loans shrinking, it's lost revenue!

The big downside of very long mortgages is that it brings up nominal prices, and thus the volatility
I consider it to be broken web design if a website requires JS to display text. I could live with a hard cut.
It is a default for RHEL7/CentOS7, so I imagine many people use it.
One immediate issue that comes to mind: source maps aren't downloaded unless the user has the dev console open. Unless you have an answer for how you're going to detect that, any custom solution will be less performant than the existing solution.
nothing "REST" about it. 100% HTTP

PS: if anyone is interested in a language-agnostic artifact like cowboy's or webmachine's, see https://github.com/for-GET/http-decision-diagram
Long story but from the start we kept originals organized. Then we restructured and the new people couldnt care less and threw away originals or left them named 1,2,3 and so on. All useless now.
Off-topic: because the Buddha explicitly favours reason and testability over blind belief. Granted most Buddhists have developed rituals akin to other religions over the millennia (and also a lot of mythology that demands blind belief), but core Buddhism (as given in the suttas) is almost not a religion. In fact calling it a philosophy of life is a better description.
I used once a 10" Asus Chromebook Flip. For $300, you get a reasonably fast laptop with Linux and good keyboard. Great for vim, typing documents, and even occasional netflix.

The real issue in these laptops for developers is the Atom CPU. I found most packages or libraries I used do not support Atom or ARM CPUs. There are hacks and other user-compiled packages but there are compromises. In the end, you just want to get work done and not be bugged with limitations.

I'd pay good money for a similar laptop with an i5 or equivalent processor though.
Ha ha ha, "Saturday school", was chinese class for me. So in the attempt to keep me connected to my ethic roots, I had to go to school Saturday morning to learn Chinese.

It was horrible and the only thing i learned was how to cheat on tests. The very of idea of having a 6-12 year old on Saturday morning sit and memorize (not learn) characters brings chills down my spine.
But this is hacker news, not r/dbz.
In the UK, around a fifth of mortgages are interest-only, which I guess is effectively an infinite-term mortgage. In comparison, at least you're paying some part of the capital back on a 100 year mortgage. Of course, both are storing up trouble for the future.

https://www.ft.com/content/4e0377e6-6ad4-11e7-bfeb-33fe0c5b7...
> it's a really weird way of thinking about things compared to languages like Java, Python

This depends on your background. I have a very hard time thinking about procedural behaviour and state mutations, Erlang's (and other functional language's) model is much easier to keep in my head.
I also just bought a Dell XPS 13 to replace my MacBook 13. I returned it after a day. I can confirm that a) the scaling doesn't work well at all yet, and b) absolutely awful "coil whine".
If that was true we wouldn't have politicians in UK stepping down for having once touched a woman's knee, or "scandals" about pornography found in a parliament PC.
>>> if their marketing department is aggressive?

Telling lies /= aggressive. Where advertising makes claims that are objectively false they should be called out. This isn't 'puffing' or hyperbolic opinion. This is saying X is Y. That these lies are in support of an agenda with which many here might agree does not matter.
Very interesting! The first static CMS I've seen that isn't just an API. I've used http://prose.io in the past to edit content in GitHub, but this seems nicer. Currently I'm using WordPress as a CMS and Gatsby as a frontend, mostly due to custom post type support. I need more than posts/pages.

Does this support custom post types? I believe Hugo does.
I don’t have a Facebook account, but I also don’t believe that simply boycotting them is where action against them should end. We need stronger, ethics-based privacy laws that greatly check their psychological manipulation and mass surveillance.
Interesting that the OP changed the original title from "Academic Freedom Under Threat in Sweden" to a more equivocating view for Hacker News.

Social Justice in this case means the erasure of history and culture. It is sad. The world needs social justice, but hitching social justice to this kind of oppression of ideas is down right medieval and hurts the concept of social justice, turning off folks who would otherwise be sympathetic to the cause.
The omnibar is less convenient than Google Chrome: it appears that pressing DELETE does not actually remove a search suggestion from History. Instead it seems to be ranked down. This is not useful, there should be a way to completely remove a suggestion (unless it is currently a bookmark).

In Google Chrome I navigate with the omnibar so much, it was the game changer for me when Chrome was new. The ability to quickly recall any page I visited before. Coupled with the ability to finetune these suggestions by removing unwanted entries.
> A 140 year mortgage can't possibly be appreciably different from renting.

The fact that as a homeowner ("owner") you can deduct interest rates, means that by "renting from the bank" you have a 30% rebate compared to renting from a landlord, and obviously you have no landlord taking a cut on top of that. So apart from the risk of depreciation, people seem to have little interest in owning their homes outright. So people pay off quickly in the beginning to get some margin on their valuation, but after that when the loan is e.g. 50% of the valuation, people might prefer buying a car to paying off $10k per year on their home. And it's probably better to have a mortgage fixed at 50% forever with 2-3% interest rate, and avoid the car loan with 5% interest.
The 15" XPS 15/5520 is really in a 14" body. The difference between my XPS 15 and my Clevo 15.6" is night and day in weight, form factor, and battery life but I only sacrifice 32GB of RAM compared to my old laptop (old laptop was 64GB vs 32GB).
Also to add to that, an extreme number of new people immigrating to Sweden, especially under 2014-2016 [1] (which is my personal belief that is the leading cause to the biggest increases in prices). Many municipalities also letting up to 25% of these new people jump ahead the queues leaving Swedes to be even more forced to buy an apartment instead of renting [2].

Also in Sweden for apartments, you don't own it. Most apartments for sale is so called "Bostadsrätter" which means you own a percentage of the association that owns the apartment building(s). If the association/organization has a bad economy and can't pay the debt they could be forced to sell the entire apartment building(s) and you'd loose your apartment while still having a loan to the bank.

Of course you would get that % of the profit, but since it selling in a time of crisis, that would mean you would most likely get significantly less than you otherwise would do.

It doesn't even matter if you have a good economy, the association must have it as well. Lots of those associations or organizations have a really shitty economy and are sensitive to market changes. Especially in Gothenburg and Stockholm.

[1] https://www.migrationsverket.se/images/18.5bc6881815e14db675...

[2] http://sverigesradio.se/sida/artikel.aspx?programid=98&artik...

EDIT: If you downvote / disagree, please explain why? What I stated is pure fact a with a touch of stated opinion which is backed by the numbers.

EDIT 2: I've added sources for the stuff regarding to immigration.
I mean they figured there is a demand out there for "light versions" of websites, which this thread is mostly about.
Science is science, not politics, and it must stay that way.

A french wheat producers syndicate has published web pages to say even coeliacs should eat gluten, just less of it... That's even the first article my mom found about gluten intolerance and she called me to tell me gluten intolerance isn't really a thing according to the internet. My guts and my gastroenterologist both disagree.

That's what happens when you listen to politics and silence scientists.
Ask HN: How can I develop my design skills (coming from sw engineering)?
Hi all,

One of the difficulties I get during the development of side projects is that I always get stuck with "programmer art" and not really able to create visually appealing representations of the concepts I have in my mind.

For example, I have several web app / mobile app ideas, I've created entire application models and actual prototypes, but get discouraged by the presentation part of it.

I figured that learning some design concepts and techniques might help, but whenever I work with actual designers I'm always impressed by the quality and speed at which they are able to create these visual concepts.

Is there any way I could learn (preferably from free resources) these concepts and techniques?
The same trouble applies when creating presentations or proposals - the ideas are there but getting from idea to visuals is a pain.

Thanks in advance for your help and tips!
In other words, confine computer use to research and communication in sci-tech alone?

Not bad. It's probably how things should have been, but that boat has sailed long, long back.

Point is, efforts to make decentralisation and independent content creating, hosting and sharing should go on simultaneously with other social steps that you have enumerated. Neither can replace the other.
> You at least know that neural pathways are still formed when outside the womb
> You are a human being and therefor amateur psychologist by default, you are literate, and you have internet access. There is no excuse.

So, by logic, if a child hasn't been taught to read and write by the time they're 3-years-old, they will never recover, they will always be less successful? That's my excuse then, I'm arguing with you because my neural pathways weren't well formed when I was 2-years-old.
From my experience, most people who claim to be experts on toddler brains aren't neurologists, they're flash card salesmen.

What I'm trying to say is that when we're talking about neurology and psychology, LOGIC is not useful.

---

But I digress. I can see this hits close to home for you, and that I'm raising your ire by wanting to discuss details when you see a large threat that needs to be eliminated, not examined.

I concede that you may be right on this point. I completely agree, these videos should be removed from Youtube (for several reasons). But that doesn't preclude discussing the videos objectively.

My apologies, and I wish you the best of luck.
Going through the list per-domain (https://news.ycombinator.com/from?site=nytimes.com) or searching for (keywords from) the URL helps in such cases
That is true. But I reckon those big players just said "let's go with the flow and move some stuff to Github, good from the marketing point of view, etc". My point being that is just a trend. If Github is not careful, that trend can change anytime. Debian and GNOME are well known, big open source projects. This helps them a lot and pushes that trend a wee tiny bit in Gitlab's side.
Show HN: Proven, a Keybase-based alternative to Twitter's verified accounts
Plane crash second biggest story of the year — CNN hasn't changed.
I'm not familiar with the harm Facebook does to the world, because I don't generally use facebook or care to read news about it.

With that being said, in this particular case, how is facebook to decide what is moral? Would you suggest that they put together an investigative team to decide which moral news organizations are negatively affected by the changes, and exclude said organizations? Surely the new "experiments" do not target purely moral organizations; it's indiscriminate. Even within this thread we have active debate surrounding whether or not stories should be fed through the black-box algorithm.
I haven't run into any such problem with the Atom CPU in the GPD Pocket .. of course I did go through a lot of hell with Arm netbooks and so on in the past (and am still an avid porter of producers to the OpenPandora universe) .. but I'm actually quite relieved to be working on an x86 with similar characteristics to Arm. Hopefully the next GPD is going to e a bit beefier, though ..
Apple to help India develop anti-spam app after face-off with regulator