skysight-inc/HackerNews huggingface dataset:
exactly. When Facebook reaches the size of a nation state in terms of its influence (and it arguably has exceeded this given how far the platform reaches) it ought to be held responsible.

Does anybody seriously think that any responsibility we demand from a actor like a government would go away if we'd write "limited liability company" on the door of the white house or congress?

The de-facto power relations are what matters.
This project is about helping Wikipedia, which is an existing technical project. I don't see anything in his tweets that makes it sound like he's trying to solve some deep social issue.
You don't need to get that deep. Most young people need to be filled in on basic information that they should have been taught in school, and that's where I would start:

- A summary of the different kinds of retirement accounts, e.g. 401ks, IRAs, Roth vs traditional, etc.

- Basic understanding of compound interest, and its impact on loans and investment growth

- The importance of having savings for an emergency

These things can be taught to young people without requiring a psych eval and a detailed questionnaire.
So when they pick 4 on a 1-7 scale, it's not neutral but good, because it's above 3.5?
When I was a child we had some chickens. The most difficult part was keeping them safe outside dogs, cats kill them for fun. Foxes and other wild animals tend to really like them for lunch.
Fake WhatsApp… and the Real Malware ZLabs Discovered
Bathroom, Mathroom
sry, wrote reply as comment, so copying here for you :)
:

Hey, sorry for my late reply :) Thanks for review and suggestions. I get data from api endpoints of airline pages, but unfortunately they are not official public APIs. Ryanair api already exists but they haven't activated my developer account yet. To points:

1) will do, good idea :)

2) selecting city instead of airport directly is possible improvement, but little more complicated for implementation

3) I'm not sure if you can see prices in EUR if you are booking a flight from Budapest for example... but will search for it and will try to implement it,I know that prices in HUF, SEK, CZK can be confusing as well as language.

I'm still trying to optimize the core routing part to make loading times as short as possible, and I do all alone in my free time, so UI stuff is not getting enough attention I guess :)
It definitely helps to have a unique name, but it's possible without. A lot of good advice in this thread, but as someone who achieved what you want, some extra points:

* Don't focus on one site. Spread your content around on as many sites as possible and link each one back to your home page. This is easier than you might expect -- nearly all tech sites are looking for content creators, whether or not they explicitly advertise it.

* Don't expect it to happen in a matter of days. It took me months/years to push "Gareth Dwyer" the poker player off the front page of google, and all he had was some YouTube page. It takes weeks for Google to update their indexes sometimes (even changing a big site over from no-www to www recently took several weeks to properly reflect on Google).

* The URL is important. Get a .com or another 'more official' domain. This is a grey/changing area, but people still have pretty big biases based on TLDs, and this affects click-through and therefore ranking. I wouldn't click on vv.mk unless I was actually in Macedonia and expecting it.

* And as others have said, put more content on your site. Even if it's only a landing page, you want people to spend a minute or so looking around. If it has a high bounce rate, it'll hurt your rankings.

Good luck :)
Show HN: Boost GitHub projects in a day
I think it's wrong to say that unsafe blocks "contain" the unsafety. Unsafety can't really be contained once it's there -- that's what makes it unsafe.

The advantage is that you should be able to write application code without unsafe blocks; they should be in a library. And the library has a contract: if unsafe behavior does leak outside the library, it is clearly the fault of the library, and can't be blamed on the (safe) caller.
Actually, I don't know why so many people are so excited about webassembly. Yes, it is faster than JS, but JS itself is not that slow and on the other hand we loose the open nature of the human readable web.
Have a unique name and commit a crime that makes the news.

Probably not the kind of advice you're looking for. You should define the scope better. ;)
I've been programming Ruby and using RSpec for quite some time, but quite honestly I wouldn't use it for a new greenfield Ruby project tomorrow. I've consistently found that it's too difficult to teach and for a team to use effectively time and time again. I'd likely stick with MiniTest. Similarly as I wade into Elixir, I'm sticking with ExUnit. It's simple, concise, and gets the job done.
or this interpreter of a lazy lambda calculus based language in 25 lines of (obfuscated) C:

http://www.ioccc.org/2012/tromp/tromp.c

http://www.ioccc.org/2012/tromp/hint.html
Beancount: http://furius.ca/beancount/

Been meaning to start using this for a while, but haven't gotten around to it. So can't speak to it's efficacy.

The documentation is pretty thorough, however.
The beginning of the end for copper wire
>I mean if you're already planning on giving a terminally ill person LSD, why not slip them some MDMA, benzodiazepines, and opiates, too?

we do give many terminally ill people opiates, a lot and of very strong opiates. What do you think fentanyl is? An illegal drug to cut heroine? No. It is a very powerful medical drug prescribed to cancer patients in particular (especially toward the end when less powerful opiates start to be not enough - IANAD, just common knowledge)
Often, a good reviewer will give a good description of gameplay, and a good idea of how steep the difficulty curve is, how the game changes, whether it gets repetitive later on, etc.

These things are really hard to get from someone doing a several minute video. That said, I do pretty much what you said (although I just pick one of the first page results, since I don't seem to get the 'ecelebs' (?) you get.)

Although, once I read a review of Jak and Daxter II, and the reviewer said it was fantastic up to a particular point, which was impossible to get through, and thus it ruined the game for him. So when I played it, I kept waiting for this unbearably difficult bit... and made it all the way through the game! I went back to the review, and (having played the game) recognized the area he was talking about. It was slightly difficult, in that it might have taken me three tries to get through... :-)
That's basically what I'm saying: it's unknowable whether copying and pasting and needing to keep all the copies up to date in the future will result in more or less work and bug fixing than re-using code. I think the best solution is for experienced developers to make an educated guess on a case by case basis. But you can't write that into a generic principle.
Students Loved This Teacher, but Then He Got Inappropriate with Their Classmate
Why Robert Wang's Instant Pot Is a Bestseller on Amazon
This really hits home for me. I'm using a DSL modem and still have landline phone that is far more reliable for me than my cell phone.
I’d do it the other way around. Redirect .mk to .com.
Since we're in the SEO land let me ask a relevant question. Say I have an e-commerce site. If I buy an expired domain from some other e-commerce site which was in the same market as mine can I have any benefit whatsoever?
Unsafe blocks "contain the possible sources of unsafety" may be a more correct way to phrase it.

It is better to know that only a specific subset of the codebase could be responsible for memory unsafety even if that behavior may leak. If nothing else, it helps focus reviewing and testing effort.
Another approach is to add a key file as ~32MB gives 2 million 128 bit hashes and you can go up / down on key length and file length. This still takes more effort than a single Master, but doing 1-2 Million from a master is perfectly reasonable.
Minifiers don't output any readable JavaScript anyway. Yes, it can be "decompiled" back to something readable, but so can WASM.
> IIRC it's currently missing out on a lot of optimization opportunity by producing wasm as transpiled asm.js.

That's actually not true: the asm.js => wasm path emits better code (smaller, faster) than the wasm backend path currently.

However, the wasm backend path is being improved, and should eventually get to parity.
I'd be surprised if it was C in 200 lines of Lisp.
While in good intentions, this project has the potential to concentrate large amounts of power. Who decides what website is "valid" or not? Just as internet companies such as Google and Facebook, unwittingly or not, have become the gatekeepers of news, this would create a similar power structure for websites. Competitors? Spend money hacking one of their lower-priority services to get an entry on haveibeenpwned.com and then a flag on the Firefox browser.

While these power structures are concerning, we should be careful before calling it off prematurely as clearly consumers could stand to benefit a lot from such a service. If the service was coupled with ruthless transparency and digestible explanations, it could be far fairer. A list of "exploited vulnerabilities within the past 2 years", summaries, and references may be more forthcoming than an oversimplified flag indicating "bad or not".
I try to steer clear of anything apart from average strength (~4%) beer. It's far harder to get through equivalent quantities to a bottle of wine and your margin of error between happy and drunk is that much greater. Also if you do homebrew you might develop a more holistic relationship to beer, although its certainly tempting when you have a 36 pint barrel sitting around at home.
A Prototype of a JavaScript AST VIsualizer
I don't understand how lazy loading could help here. The images are all behind hyperlinks, and their display sizes are all hardcoded into the HTML. There is nothing preventing the browser from completing the page layout immediately and backfilling the images as the load.

That is not to say the page is well-designed or pretty - it is hideous. But lazy loading would make it strictly worse by adding js parse+eval latency on top of the loading time for the images.
HAProxy 1.8.0
No CDN, but there's multiple repos of people taking the FontAwesome icons and converting them over to SVG.

Here's the one I used: https://github.com/encharm/Font-Awesome-SVG-PNG

Also, the new "Font Awesome Pro" comes with all icons as SVG out of the box - https://fontawesome.com/

Last, one annoyance (in the midst of many benefits) of using SVG instead of fonts as icons is that you can't change their color via CSS if you're including them via <code>img src='file.svg'</code>

So I use BoxySVG. Boxy is to Illustrator as Acorn or Pixelmator are to Photoshop. A tightly focused editor that lets you do simple things (like edit colors) very rapidly and doesn't bog you down with a ton of extraneous features.

https://boxy-svg.com/
3545 bytes: https://i.imgur.com/dHIaRh1.png Used Gimp to convert to 4-bit paletted colormap, and processed through optipng.

The original PNG icon was very clearly suboptimal at 20 225 bytes...
2016 Data Science Salary Survey was insightful

http://www.oreilly.com/data/free/files/2016-data-science-sal...
Is it even faster? There is no particular reason why asm.js should be slower besides the initial parsing time.
Right, it certainly seems that feelings exist to motivate certain behaviors, if nothing else. Anybody who thinks about their own behaviors should readily confirm this.

Yeah, I just don't have a good answer for it other than to bite the bullet and say its just a crazy coincidence. The incentives of our unconscious brain are roughly aligned with what feels good. But it doesn't seem satisfactory to me either.
Sticking two elevators in one shaft can move 40 percent more passengers
Most of the comments seem to answer what I was going to ask after reading the post: "what about the gems?"

My question now would be "does Phoenix have something like devise and carrierwave gems?" Please link if so.
I thought Google looked to see if domain entries have changed and if so took that into account and counted against the prior ranking score.
you can use WordPress API at WordPress.com or elsewhere if "no server" means "not my server".

and where do you put the status site code?
Pending home sales take another tumble across much of the Bay Area
Easily insert music notation in your Google Docs and Slides
Disclaimer: unit-test proponent hypothesizing.

> But taking the data at face value, the trend lines speak clearly. More test methods in codebases predict more cyclomatic complexity per method and more lines of code per method

My initial reaction to this is that having more tests means your code accommodates more and increasingly complex cases and edge-cases in general, because you’re not going to write 10 test-cases testing the same logic (or combination of logic).

That’s going to mean more code and more complex code either you like it or not.

The projects with fewer test-cases may not handle as many edge-cases, and maybe they don’t have this complexity (and the associated tests) because they don’t need it yet?

If so, tests themselves are not bad, but may just be indicative of the real world cost of real world complexity?
Does Google still prefer .com TLD over others? I moved from it to a country-based TLD and have similar problems with indexing now.
WASM has a non-lossy text based format; everyone involved doesn’t want to lose view source.
I had an interesting experience once when I regained consciousness after fainting.

My first memory of that experience was a cacophony of noises, specific images, and what I can only describe as colored static. Then, over what subjectively felt like 10 seconds, I realized at some stage that I was ‘awake’ and the various sounds and images sort of faded until I had one coherent thought and then started to get awareness of my surroundings and then finally opened my eyes.

It was a very unsettling, but also very interesting experience and sort of made me curious to investigate if this is what people experience with hallucinagens.

Another time when I had to make a trip to the ER they gave me nitrous oxide when they tried to reset a broken bone and I had very interesting aural hallucination where sounds became chopped up/echoey. When the gas stopped I asked the nurse how long it had been and she said about 5 minutes but it had felt like 30 mins.

Both of experiences left me fascinated how malleable our perceptions are :)
Gold is only analogous to Bitcoin (or any one specific crypto), not the entire phenomenon. People can create new companies and list their stock but that in itself has no impact on stock prices.
Mercury will devour your gold if you let it
Arrays and vectors are different. I’d suggest adhering to C-like conventions of data structures.
Good points. The second can also give a kid more than one chance at life. For instance if a kid from a wealthy family gets arrested, his parents will provide aggressive legal defense, and the police may even know this and let him off the hook in the first place. Likewise if the kid tries a business idea and goes bankrupt, the parents will bail him out. One of the things that encourages people to become entrepreneurs is knowing that they have a financial safety net so they don't have to worry about their own basic survival.
How and why to create a good validation set
Disclaimer: I'm and python and go(lang) developer.

The main problem I've had with regular CMSs (DjangoCMS, Wagtail, ...),
is the sometimes steep learning curve associated with them and the less
than ideal deployment options (especially if you've been spoilt by Heroku,
Dokku et al.).

I like the idea of headless CMSs but currently the only available open
source ones that i know of are written in PHP or Javascript (Node.js).
Also when you're done building your data models and adding your content,
you still have to build/deploy another app to access the data.

Flat file and static CMSs (Lektor for example) are great until you need
some server side processing and then you're forced to make use of a 3rd
party provider (for form processing and so on).

For me, the sweet spot would be a headless CMS that behaves like a static
site generator and can be embedded in my Flask app as an extension.
I tend to place the most emphasis on loose coupling, and being very strict about interfaces between components -- both in terms of documentation and addition/changes. Ideally documentation includes unit or integration tests. This applies to separate high level services as well as it does to internal code structure (classes/modules/etc).

Well documented and tested interfaces of a component make that component easy to replace or rewrite if needed.

Nearly anytime I have worked on or been involved with a project where I or someone else tried to design specifically for a vague future requirement that wasn't entirely clear or guaranteed, it didn't work out: either the requirement never happened, or was so materially different that what we wrote was wrong. As a result, the code we wrote went unused or worse, just got in the way and ended up as unnecessary technical debt.
Netlify CMS is a self-standing open-source project. We maintain it and are puring a lot of resources into it, because we think it's really important there's a good open-source solution on the market for projects built with static site generators.

However, the CMS itself is not tied to our deployment and automation platform. It can also be setup to work for GitHub pages or self-hosted setups.

The basic idea is that's its an editor friendly content management UI for persisted data stored in a GitHub repository. What you do with that data is up to you.
Right, with 'consciousness' reported behaving as 'sakshin' or 'witness' and the sense of 'I' (and subsequent not 'I') as a synthetic product of the nervous system called 'ahamkara' ('I' maker) supervening within the 'sakshin'. The Vedantin's goal was 'neti neti', or I'm not-that (empirical) and not-this (human-animal cognitive operating system engineered to interact with the empirical), recognition of which purportedly catalyzed a subsequent 'recollection' of a 'transcendent' cognitive operating system. If interested, see 'Advaita Vedanta - A Philosophical Reconstruction' (Deutsch) for a comprehensive overview of the subject.
Wasm code is normally JIT-ed by the JS VM. That is, browser implementations don’t have an entire separate VM for wasm.
Yes. This is now a common white hat tactic. That instead of paying someone to try and build links for you (blindly email a bunch of sites and ask for links). You purchase a site and then direct all of that traffic to a subdomain of your site / 301 the entire domain over / 301 specific URLs over to the new resources (which one of these that makes sense is case specific).
Substitute Phone helps to overcome smartphone addiction
"Our thoughts have no real impact on the underlying operation of brain" cannot be literally true, if you are able to talk about your thoughts. Because talking about your thoughts means that somehow your thoughts influenced at least the part of your brain that guides your mouth.

Also, how would the ability to think evolve in our species, if our thoughts never had an impact on our behavior? Then they could not provide any evolutionary advantage.

It is possible (and quite likely) that some weaker version of that statement is true; e.g. that there are many things that brain does independently on our thoughts. But claiming that there is "no" impact is just trying to be edgy. Yes, such absolute statement sounds more interesting, but it is wrong.
It initially affected TCP, UDP and ICMP. After a firmware "fix", it doesn't affect ICMP but still affects TCP and UDP.
> As much as you dislike Trump, I don't really think you want to live in a country where the IC influences elections. Remember that the FBIs job for the most part is to investigate crimes, not prevent them. Mueller will do his job.

Can you outline why this should be different from say terrorists flying planes into buildings? I assume everyone wants the IC to be preventing that, not just prosecuting those responsible afterwards?

One key difference is of course that one is trying to kill an unprecedented number of innocent Americans, but it's possible his health reforms won't ever get enacted and the EPA will be forced by the courts to actually do its job, so there is still hope.
> it wouldn't take much at all for me to believe otherwise

...goes on to describe multi-week, double-blind trials involving human subjects.
Blog about pregnancy
I don't understand this argument at all.

"Rust is not perfect, so it's basically the same as C"

The fact that "american fuzzy lop" and "syzkaller" have gone through the kernel and found dozens of use-after-free's (see https://github.com/google/syzkaller/blob/4bd70f/docs/linux/f...), shows that even incredibly carefully programmed C messes up in totally rote ways.

The basic cleanup code which is able to be exploited here would not be in an unsafe block if this were rust. In fact, because rust abstracts memory management out better, most of the cleanup code wouldn't exist at all.

Rust also allows better abstractions. For example, Rc<T> in rust is much easier to use without screwing up than the manually handled reference counters littered throughout the kernel. It seems obvious to me that numerous deadlocks in the kernel could be avoided by not hand-rolling refcounting everywhere.

You're right that there's still the potential with rust for some code to compromise the safety of the entire kernel.

But with rust that's a subset of code, not practically every single line of the whole thing.

It seems to me like memory corruption/use-after-free/etc only being able to happen in a small fraction of code is better than it being able to happen anywhere.
They received so many returns that they removed the return page from their website, to force their customers to request returns over their rather poor telephone call centre. They then went on damage control, disabled (until this cools down) some of the features which were upsetting customers, and made sure everyone knew about it.
This is awesome. I haven't tried it yet but is exactly what I've been looking for. I'd like the ease-of-use aspect of CMS to provide to non-technical users with the flexibility of a custom static site generator. Wordpress is super bloated and hard to use for end-users these days. Maintenance, etc is all a headache. Other simple CMS's are paid services and usually don't give a lot of flexibility. Netlify seems like something I could use to make websites to users and not have to worry about too much maintenance / cost afterwards.
An integration test isn't a test for a function. Its a test of the system as a whole. On a per function level, more code in a function makes it harder to test, whether you are unit testing it or somehow manually testing it.
This land should be bought for preservation by the state, feds, or a nonprofit. There are always unique species and history in places like this.
> This is probably an unpopular opinion here, but I think the FBI cybercrime division should be completely defunded and shutdown.

I agree wholeheartedly with this. At moments like these you have to ask what the job of an intelligence agency is if they cannot inform the members of their own apparatus about an external threat coming from one of said institution's historic and biggest "enemies" (the Russians). If it matters, I say this as an European who has never set foot in the States, so I'm not directly involved with US politics.
In Peru’s Deserts, Melting Glaciers Are a Godsend (Until They’re Gone)
It should be possible to reduce that a bunch more, 65kB sounds high.

Running the binaryen optimizer on that wasm shrinks it by 6%. Probably more can be done on the Rust side.