skysight-inc/HackerNews huggingface dataset:
Show HN: Lotl – GTFOBins as a Command
"GTFOBins is a curated list of Unix binaries that can be exploited by an attacker to bypass local security restrictions."

#!/bin/sh
if [ $# -eq 0 ]
then
echo "Usage: lotl {command}\nlotl - GTFOBins as a command"
else
curl -s https://raw.githubusercontent.com/GTFOBins/GTFOBins.github.i...
fi
+1 for including sources for all graphs. Great for accessibility. Images are not enough for some people, and it's nice you recognize that.
> Competitive salary

Which is code for:

> We know that if we display our salary range, we won't get any applications
Because the alternative to rail is cars. Cars don't scale to the level needed in cities. They also pollute a lot and kill a lot of people in accidents. Everybody benefits from fewer cars on the road.
More to the point, neither is very easy to do in practice.
About the only places I'd call actual competitors... Are none. Nobody is close to 10% of Steam sales and specialized in video games. They are a monopoly and will push the price. They cannot push it too much or a cheaper small store might overtake them, but competition is not the force setting the price. The cost of switching is. The network effect strength are.

Maybe someone in China could, but they don't directly compete.

GoG has a niche they're trying to expand, as does Humble. A few other small stores. Game company ones (EA, Blizzard, Ubisoft) are not even close. Funny enough, the small shops often resell Steam keys...
I don't know. Securing a city is not that hard. East Asia is not some crime free utopia. So it boils down to lack of political will.
If the lease is set to expire in twenty years, can you know in advance how much it will cost to renew, so that you can include it in the mortgage?

If so, then it doesn't really seem to help the city to capture the gains that may have accrued over those years. If not, what happens if the lease now costs much more and you can't afford it? Do you get kicked out of the house?
Making Performance a Priority with Virtualized GPUs
> and preventing internal protectionism

Which is the key phrase. The EU is perfectly fine with protectionism so long as it is non-EU countries who are being excluded. For example, the cap of foreign ownership of EU airlines at 49% has no basis other than protecting local companies.
Perhaps it is the so-called "corporate greed" that creates the bloat.

The added funtionality that the browser "needs", once added, is in practice overwhelmingly directed at commercial purposes, primarily advertising-supported businesses.

In theory it could be used for anything.

Correct me if wrong, but Netscape was originally intended to be a browser for commercial enterprise where companies would pay licensing fees.

And Firefox, whatever its purpose was (perhaps an alternative to another corporate browser from Microsoft), ended up being the precursor to Chrome, a browser written by an ad sales company, as the original Chrome developers were originally Firefox developers.

Following the ideal that the web is this wonderful open platform accessible to anyone, I would like to see more browsers, with reduced functionalty (and perhaps increased safety/privacy and freedom from ads), written not by companies nor organizations that try to compete feature-for-feature with those corporations. These simpler browsers could target the non-commercial web, e.g. the web as a free information source. A web where an individual page need not be a conglomeration of random third parties vying for user attention.

Methinks it should be more troubling to the HN crowd that "browsers" are not amongst the class of programs that can be easily written, edited and compiled by anyone. They could be, but the popular definition of "browser" needs to change, moving away from "all the features of Company's browser" or "all the features Working Group is discussing with input from Companies" and more toward what a given user (cf. company, advertiser), including non-commercial users, actually needs for a given task.

There will always be corporate-sponsored web browsers with corporate-friendly, advertising-friendly features. But we need non-corporate browsers too. They may be enough to accomplish the user's non-commercial tasks but not well-suited for web advertising, e.g. optional auto-loading third party resources.
The cheer fact that people actually payed to use it is boggling my mind.
I suppose the conclusion is that I need to work a lot more to even start understanding how people think !
Are you shaming HN users for trying to monetize something?
More confusion. Looking closer at the actual code, there are <20k lines of C++ code. For comparison, the Bullet physics engine clocks in at over 700k lines. What does Habitat actually do?
I created something similar but with a smart contract: https://davidwong.fr/FiveMedium/#/
Depression is a disease, not just a state of mind and it needs to be taken care of. The more you let it go untreated the worse it gets. You can try to get out of it by doing physical exercises or just taking long walks (try and spend a whole day walking). It really helps. Exclude sugar and fat from your diet. Fried food too. Get out and chat with friends, in real life, not in messaging apps. Quit toxic relationships if you feel your spouse drowns you. There are a lot of things you can do yourself without attending a counselor. Once you move yourself to the positive attitude, job interviews would change accordingly.
Vectorious – Linear Algebra in TypeScript
Thanks for the quick explainer on what the sequence is. Reassuring to know it's not the ordered number of tweets in a thread.
How Hacking 'The Price Is Right' Lead to a Path of Success
Rail is high-volume, far more so than achievable by bus, and the modal users are the middle class and commuters. https://assets.publishing.service.gov.uk/government/uploads/...

Really this is a "yes and" situation. We should also have decent low-cost buses, which in the UK are only available in London, Edinburgh and a few other places.
> TOKYO -- East and West Japan Railway have both forecast record profits for the fiscal year ending March 2018, anticipating more bullet train passengers and higher income from real estate and other noncore operations.
> West Japan Railway said Friday it expects a group net profit of 109 billion yen ($978 million) for the fiscal year through March 2018, up 19% on the year.

Full article: https://asia.nikkei.com/Editor-s-Picks/Japan-Update/JR-East-...

JR East annual report: https://www.jreast.co.jp/e/investor/ar/2018/pdf/ar_2018-all....
That seems to be a problem that can be fixed with some security guards.
There are very similar sites like the one posted still going on about missing people in hard to search areas. I will try to get my friend who's into it to provide a link.
The problem is in most cases a new drug is not tested on multiple strains. Often we get the result for the CL57/black mouse and nothing more. The end results is often meaningless since it is strain specific.

Yes I know pets are used in studies, but we use pets to only a fraction of their potential. We have 10s of millions of pets and we use a few thousand at most every year. I am lamenting the waste.
2019.2.26 Network Update
It is not even close to assaulted. It is not inertia, but network effects and completeness of package offered by Steam, as well as resale deals.
It's true that types has something to do with it, but the main issue is padding. While I can keep the same type (i.e. uint8_t), it's the padding following uint8_t var[3] that may vary according on packing options when compiling.

http://www.catb.org/esr/structure-packing/#_structure_alignm...
Public rail is only a money losing venture if you consider that ticket sales is the only benefit it provides and that those need to fully cover the exploitation. If that were the case, rip out the subways in any US city, shut down the airports, break up the highways (who pays for those?), etc. Most of that kind of infrastructure does not happen without tax payer money.

The reality is that the economic side effects of connecting cities with each other such that people can travel easily between them facilitates a lot of business to happen. Having access to infrastructure such as working internet, good housing and health care, public transport, etc. are per-requisites for running any successful business.

In France, the high speed rail network which has been there for decades now has meant that a lot of business trips to major French cities can be done in a single business day without requiring lots of planes to fly. That makes a lot of difference for cities that are far from Paris. Also it means that getting to Paris from anywhere in France is typically easy and straightforward.
Can you help me understand your concern? I'm not a c++ person. Is it that there's more stuff that needs to be packaged in even if it's not being used?
Reminds me of an incident narrated by Prof. Amartya Sen during a speech:

He had gone to Germany for a conference. While walking back to his hotel, had to cross the street. There were no vehicles in sight, but the light was red. After waiting for some time, he thought "what the heck", and crossed the street even though the light was still red. After a few minutes, a German man walked up to him and said "Mr. Amartya Sen, in Germany we follow the rules even if there are no cars". He apologised to the German, and asked him if he knew him, may be from the conference. To which the man replied, "I have no idea who you are, I just read your name from the conference ID card hanging from your neck".
In any case, European countries don't have blasphemy laws (there might be exceptions to this - I know Ireland had it until recently).

That case the parent linked is about defamation (calling Muhammed a paedophile), not blasphemy (for example saying Muhammed was not a prophet).

EDIT: so I was wrong. See the comments below.
Keeping Valve in check is worth the friction. Today they might be benevolent now but when Gabe Newell is gone they will have same problems as Apple because Steve Jobs is gone. There is a high risk a new CEO will just be a paperclip maximizer.
For me it's OK to use i,j,k as loop counters, a and b for sorting algorithms, e for events or exceptions, and x,y,z for coordinates or in simple math operations. Everything beyond that is really out of "everyone is doing it" area, depends on your background, books/people you've been learning from, programming language, etc.
You should consider yourself lucky to be able to use your cat's keyboard while she is taking her afternoon stroll.
The Hacker School Experience
Never-Ending Book of Ideas
A comparable implementation in Zig. Key detail is `@fieldParentPtr` [1], which has the same
functionality as `container_of`.

const std = @import("std");

const wl_list = struct {
prev: *wl_list,
next: *wl_list,

fn init(list: *wl_list) void {
list.prev = list;
list.next = list;
}

fn insert(list: *wl_list, elem: *wl_list) void {
elem.prev = list;
elem.next = list.next;
list.next = elem;
elem.next.prev = elem;
}
};

const Data = struct {
data: i32,
link: wl_list,

fn init(data: i32) Data {
return Data{
.data = data,
.link = undefined,
};
}
};

pub fn main() void {
var foo_list: wl_list = undefined;
foo_list.init();

var e1 = Data.init(1);
var e2 = Data.init(2);
var e3 = Data.init(3);

foo_list.insert(&e1.link);
foo_list.insert(&e2.link);
e2.link.insert(&e3.link);

var entry = @fieldParentPtr(Data, "link", foo_list.next);
while (&entry.link != &foo_list) : (entry = @fieldParentPtr(Data, "link", entry.link.next)) {
std.debug.warn("{}\n", entry.data);
}
}

[1] https://ziglang.org/documentation/master/#fieldParentPtr
Most people I've ever met, have found it to be faster and easier to use. But yes, a lot of older people still use IE because that's the default
Simple Deployment Pipeline
No reason to require a single operator, you just need a shared "pot" to move money around. On-peak trains pay into the pot, off-peak trains get money from it.
The Muse (YC W12) Is Hiring a Director of Analytics and BI
what about making something similar, but where the cost formula is an^2? a should be some constant factor like a tenth of a cent and n should be the number of chars, i.e. per message or in the last 24 hrs. If Twitter worked that way instead of an arbitrary 140/280 char limit, it would be so much cleaner.
The poll didn't even mention the price. It asked only about a foldable phone at all, and 74% of people said they didn't see value in it.

If touchscreen typing weren't so miserable, it'd be cool to have a pocketable laptop form factor. As things are, though, you're better off carrying a tiny Bluetooth keyboard for the few occasions you'd actually care enough to have a better typing experience (eg traveling).
Basically the whole premise of https://elm-lang.org
Aye, I've had long-running performance analysis experiments running against SQL Server killed because the dev machine orchestrating the tests was rebooted without warning. That was some time after the normal "patch Tuesday" window. IIRC it was due to an update in Flash for Edge. A feature I don't use in any browser in a browser that I don't use (but can't uninstall or otherwise disable) caused a delay to my work. I was not best pleased.

"Windows Subsystem for Linux" amuses me. A tool for when you want Linux, but would feel lost without random reboots!
Data-past present future (course website)
> Close proximity to homelessness unfortunately makes us uncomfortable so perhaps it is good that we feel that and recognise homelessness as a problem rather than design to accommodate it

But they are designing benches so that homeless people don't bother others by sleeping on them. That reduces "proximity with homelessness" far more, than regular benches do.
I was actually talking about UK and Sweden (haven’t been to the US in 15 years).
This is not the first time we've been using yeast to do something like this. Are you concerned with this particular strain, or any other strains, too? Just curious, because if only this particular one, then what is the difference between this and the rest that makes you more concerned?
> The Netherlands seem much more able to have transport options that join up.

The Netherlands is a very small country, almost half the size of Panama, with a mostly dead flat geography. It is also one of the most densely populated countries in the world.
Show HN: MkDocs Material Boilerplate – Starter Kit
Stripe could do that XD
The trick the Commodore 64 used to create colorful pixel art
Which will be promptly banned and your Facebook privileges revoked.
Like YouTube tries to.

Welcome to walled gardens.
I'm dualbooting so that I can use Reason (music software) and the occasional game, but I'm picking up Renoise which runs on Linux (and is more suited to mouse-less composition.) I'll probably still arrange, mix, and master in Reason though (but I'll do that on my gaming machine which is still running win7.)
You should start a niche bookstore. So, as with any other product - look out for a profitable niche first. And you have to secure exclusive deals with respectable authors in that niche which is a tough task. As with any other marketplace you have to attract authors and readers at the same time, but it requires a lot of marketing and business skills.
>That's part of the reason there was talk of the UK not being able to renationalise their railways //

I thought we did effectively renationalise a portion of the network on the East Coast, and it was better [for users] and profitable in some sense [for the exchequer]?

https://www.theguardian.com/uk-news/2013/oct/26/east-coast-m...

We have a lose-lose system in the UK AFAICT, we have a private system, and we subsidise it from taxation. So private companies get paid dividends, that they didn't earn, from tax money and we still get a fragmented and under-invested system.
They're right to be baffled.

Windows 10 is a schizophrenic mess of half-baked ideas and abusive telemetry collection, which is a shame because the performance boost it gave to games wasn't insignificant.
Video no, but you can host audio. They have functionality that lets you set up a patron-exclusive podcast for example
I think it is possible to do both, at the same time. :D
I released MkDocs Material Boilerplate (Starter Kit)

Deploy documentation to platforms (Netlify, GitHub Pages, GitLab Pages, and AWS Amplify Console) with Docker, pipenv, and CI/CD
"Spend money to chat with strangers who spend money to chat with strangers."
That's a demographic that doesn't deserve my time.
Can I use hanzi though?
One of my favorite youtube channels just retraced the steps of the Germans based on the blog article https://www.youtube.com/watch?v=a-KUF-xiV5o
HN automatically removes marketing words from title submissions
Any titles with the word amazing has the word automatically removed, which makes creating new stories easier. Any other words you have found to be blocked?
> According to ayurveda, human body can be classified into around 200 types based on the K/P/H balance of a body.

Maybe you'd first need peer-reviewed research to prove that...
The trend to ask for citations when logical reasoning could be easily applied, is a sort of modern disease. Citations can be proven wrong with time. Logic reasoning is the right stuff.

"Forests don't need people". They are firmly rooted here since Devonian age. We came much, much, later. This part is pretty obvious.

"People need forests". Well, maybe not all people. Some people live in the deserts and never see a forest. Some live of goats that graze shrubs, other can rely on their fine petroleum resources, a great substance that keeps alive all cities in the world, and is made of old fores... oh, wait.

You certainly could build a skyscrapper without wood, but not without steel beams. To made steel beams you need molten steel, and to be able to molt steel you need a big bonfire made of carbon that is another thing made with... forests

You still could have a not so modern, old style city. They are made of wood.

No forests? Say bye to the tires of your car (and mountain bike)

And many cities are built around water courses, that is often another forest subproduct...

There is also the not minor issue of the oxygen, of course.

¿Could people live without forests? Yes probably, but our long term survival would be much more fragile.
I've been using VS near daily for 8 years and I had no idea about that! Thanks.
I don’t think C++’s “Pay for what you use” applies here. You don’t have to use something just because it’s in the standard library.
The only practical difference for a user is a larger binary when statically linking.
(The burden on compiler developers is a very real concern, however.)
I avoid anything magic in C.
But that just makes it an alternative to giving the creator money directly.

"How is this a plane? Is it made of wool?"

"If it was made of wool it would be a comfy hat, it not being made of wool is necessary for it to be a plane. Notice how I'm not even claiming that it's a plane."
Same here. Fortunately I've searched for "pixel" before making a redundant comment :^)
They are shaming them for using the "social experiment" label.
wow ... I just spotted ling's cars! Besides 'The Times', I've not spotted anything which I recognise on there. And I'm kinda surprised there aren't more porn adverts, to be honest.
Here's a nice smackdown which I don't have the time or knowledge to offer myself:

"He abandons [Dr. B.M. Hegde] all rational thinking and embraces fantastical belief systems. The sad thing is I personally know many people delaying cancer treatment being swayed by his speeches and ending up with incurable metastasis later."

https://www.quora.com/Do-you-agree-with-the-controversial-vi...
Something like that is still up, albeit with a cryptocurrency: http://iota.show

I know, it is not exactly identical to what you are saying, but this is what came to mind, and the idea is very similar, if not the same.
The Case of the Supersized Shebang
Octus.app
Desktop application for managing social accounts in one place, in one window. Each tab have their own session and cookies, so you can use several account in one app. (No need to use private mode in your browser). Connect as many account as you want.
Business idea: corporate email system that offers a limited amount of emails per month, and once the limit gets hit, discounts money from employee's salary.

Add a formula that makes it exponentially more expensive if you add more people to CC.

Problem with corporate mailing hell solved.
This site is unwatchable on safari ios.

So is the whiskey any good?
It's a bit more complicated, which is why many content producers still use Patreon even if they want an alternative.

Patreon not only collects money, it also provides a way to assign rewards, define goals and notify patrons (filtered by reward level) of new content.

It's not a publishing platform, but it's not just a payment processor, it's also a kind of marketing platform.

That said, the most appalling part of Facebook's "competitor" is not the 30% rate, it's that their ToS try to pull the same bullshit stunt they try to pull on their social platform: tricking you into believing you owe them perpetual transferable rights to everything you share via their platform. They know this isn't actually enforceable (at least not in all jurisdictions internationally) but they still try to trick people into believing they unknowingly agreed to it and are comfortable exploiting those in jurisdictions where this nonsense works and those who don't know any better.
Criticism of this sentiment is verboten. What the hell?

People who live in SF imagine your city with tidy bathrooms, then follow this tree:

(1): Does the city have homeless and drug addicts?
If yes, go to (2). If no, go to (3).

(2): And where are the bathrooms?
If 'in private businesses' go to (4). If public toilets, go to (5).

(4): The private businesses chase off the homeless, who shit in the street. SAN FRANCISCO IS HERE.

(5): They're probably going to have people passing out in them, then.

(3): OK, so where have the homeless drug addicts gone?
If they've been cured, go to (6). If you've sent them to another city, go to (7)

(6): Now you've probably got a massive spending program. THIS IS WHERE THE PEOPLE YOU'RE TALKING TO ARE

(7): Eh, you aren't the first. THIS IS UNLIKELY TO EARN YOU UPVOTES ONLINE. It might earn you re-election if you get elected then do it by stealth though.

If you've got a solution that avoids every pitfall I'm sure people would be eager to hear it - but if your explanation skips over some of the problems, that's less helpful.
No no, subcompacts are bigger than that. An electric car made to comply with kei car regulations is the Mitshubishi I-miev / Citroen C-Zero, which is 3.50m long and less than 1.50m wide. This compromises the whole car. Having driven it, it doesn't really feel good.

The Zoe is 4m long and about 1.70m wide. That's the same dimensions as the rest of the cars in its segment. This "Ford Fiesta" size is great for European cities, and the cars don't feel compromised on the higher speed roads, as their size and weight makes them more agile than bigger cars, whose only real advantage is space and stability at higher, illegal speeds.
That would just mean employees would make every email like 1,000 words long
"Looking for Ruby/Elixir developers" -> They just want Elixir developers but put Ruby to have more applicants.

And in general there is a lot of keyword stuffing in job descriptions.
The standards are the starting point for the code, that dosen't mean that a dev shouldn't then write code to support the quirks of the browsers.

Writing to support one browser first was exactly what got everyone down in the deep hole writing code for IE only to find that it didn't work the same in Firefox and Chrome early on.

Also the Dev should be well aware that anything they write to support quirks could well be invalid code such as IE conditional comments.