skysight-inc/HackerNews huggingface dataset:
> Or because the structure is used outside of linked list contexts

That use case is possible with the particular implementation that is now used by curl:

struct fileinfo {
struct curl_fileinfo info;
struct curl_llist_element list;
};

You can use the payload (struct curl_fileinfo) outside of a list without incurring any overhead.

I think one of your other points is more likely, or simply "it was fast enough and we went for more interesting features than for such optimizations".
> Human enhancements needn’t confer superhuman powers.

We already have a library of powers demonstrated to us by nature itself. Because the source-codes of most life on earth is written in the same language, porting packages from one organism to another is actually, generally, reasonable. We can already port single protein packages (though with some difficulty in delivery, and associated risk). There's no fundamental reason we can't start porting over entire processes.

Get radiation protection from Tardigrades[1], anti-cancer protection by mimicking elephants' possessing many copies of p53[2]. Give everyone low-oxygen tolerance conferred by PHD2 found in Tibetans[3]. More exotically, photosynthetic and alternative energy generation from various heterotrophic species.

And then of course, give optical I/O access using photo-sensitive neural proteins [4]. Or other optogenetic components to give us read/run access to dormant genes already in our genomes[5].

[1] https://serotiny.bio/notes/proteins/dsup/

[2] https://serotiny.bio/notes/proteins/p53/

[3] http://www.nature.com/ng/journal/v46/n9/full/ng.3067.html

[4] http://web.stanford.edu/group/dlab/optogenetics/sequence_inf...

[5] http://blog.addgene.org/optogenetics-crispr-using-light-to-c...
100% Uber/Lyft propaganda?

There's a difference between saying taxi drivers are evil, and saying that the taxi system is a corrupt special interest.

The 'system' is not just drivers, in most large US Cities it's a few concentrated medallion owners, strongly motivated to lobby against diluting their share of the taxi market. Dilution could come from regulatory changes, or just allowing more medallions.

What is a 'special interest' anyway? Medallion owners represented a concentrated minority of the population with strong motivation to push for policies that are neutral or harmful to the majority.
But since the harm is spread among the many, and the benefit is concentrated in the few, the few are more organized and willing to expend time and money to achieve their goal. And yup now ride sharing apps are a new special interest.

That's just the political economy. There's also the fact that in many cities the cab titans were operating like corrupt slumlords, while local law enforcement long seemed willfully ignorant.

https://www.bostonglobe.com/metro/2016/08/03/fallen-taxi-kin...
Security through obscurity isn't bad, it's just not enough. I concur with other reports - just running an EC2 host for a couple of day you'll see login attempts all the time on port 22. Just bots looking for low-hanging fruit. Something as simple as using port 2222 or 122 is going to avoid most of those scans and still be easy for authorized operators to remember. A targeted scan is still going to find it, but if there's some zero day and people just start scanning port 22 on all IPs, you're above much of the water. Still patch the zero-day ASAP, but the obscurity has probably bought you some time and decreased your real-world exposure to attempts.
Can an "empty" variable have a length greater than zero?

In Bourne once scripts I have been testing

test ${#var} -gt 0 and

test ${#var} -ge 1

In the past I have seen others use

test x"" = x$var
I'm not sure about that. What matters most is the ecosystem. That's why people pay for x86 and ARM. The ecosystem that RISC-V offers will need to be at least as good or good enough for whatever users. They'll also have to be successful with lower volume despite high costs of ASIC development. Finally, remember that OpenSPARC was around for a long time with open-source implementations like Leon3 that mostly went nowhere outside established companies already using them.

I'm not so optimistic. I wish the best for them but precedents go against it.
That's true, but there's a bit of live by the sword, die by the sword here. Uber is no stranger to the power of propaganda with their campaigns on the sharing economy, unions, regulations, etc.
There's a lot of people passionate about it because it's the first low-level language that's reasonably approachable to people who mostly code in Python/Ruby/etc - you rarely ever have to pull out a debugger, for example.
Well Churchill, of all people would know it pretty well.
You may also want to check https://github.com/criteo/biggraphite/wiki/BigGraphite-Annou... which is also about how to write a TSDB from Scatch but with different goals.
Taxi's have regulations and laws they have to follow. It isn't a perfect system, but you know there are certain precautions Taxi drivers are taking.

You have a different kind of safety with Uber. There are always tradeoffs.
It’s the same in many places, I get a handful of German sources on Google News, and then only random things that some sports newspaper writes about an athlete from my city, or articles about US towns with the same name.
Is meat grown in a vat vegan? I'm curious, I really don't know where that religion draws the line.
Someone should try to automate this process, or at least make a complete bash -> python guide.

This is much nicer than I expected, but the functions are scattered around a bit.
It's incredibly close to my feelings after moving from C# to Javascript. Especially the heavily leaning on compiler bit.
Shell still has a huge advantage over other scripting languages- the syntax to invoke other programs is completely first class and natural. In real programming languages it's always some .os.exec() or whatever. Is python different?
You made free software affordable! ;)
There are other reasons why you'd want to limit the number of drivers. It is not good for NYC to have too many taxis, or too many Uber or Lyft drivers.

There should be enough, but there is a point where there are too many people driving through the streets of NYC looking to pick up riders.
I feel like you are not listening. These are not "immigrants", they are temporary foreign labourers who are flown in to do a job, do it, and leave. It is not "discrimination" that they are paid less - the fact that they are cheaper is the only conceivable reason for hiring them in the first place.

I see you're a security consultant. Here's a thought experiment for you. Say you have trouble getting work back home, but you hear that in Switzerland they have a shortage of security consultants and the going rate is $200/hr. You ring up a company there and offer to work - they say well your French isn't quite up to scratch so we can only offer you $100/hr. You say sure, they say OK here's a 6 month contract, you fly in, do the work, and fly out.

You are paid less than the natives. You are there because you can be paid less. You are benefiting from the trade, and so is Switzerland. You do not get to vote in Swiss elections. Are you being immorally exploited by racist discriminating Swiss? Of course not. It is a win/win situation and a fundamental component of foreign trade.

Economically, wealth has been created. Your home country is better off to the tune of $X when you bring home your fat stack of euros. Switzerland is happy too because it thinks it gained $2X worth of work. The world is better off because you were working productively instead of browsing reddit waiting for the phone to ring. This is why trade is good. Your labour was able to move from where it was not necessary, to where it was.

The foreign workers in Singapore are not being paid $100/hr, of course, but otherwise the situation is exactly the same.

Does that make sense?
I went the opposite way. I started out writing few liner bash scripts that just basically wrapped my perl script with proper environment vars, args, etc. and do all the heavy lifting in Perl. It also happens that my dad was a a build engineer back when they didn't really have a title for it and his Swiss Army knife was Perl. I literally learned coding beyond BASIC on HP-UX, Solaris, and Perl.

At some point, I just started doing more and more in bash and started using Perl only specifically for anything I was having trouble getting working with sed+awk.

As of today it's probably been 3+ years since I wrote anything in Perl, I'll just drop to Python if I need it now. Also my sed and awk skills have gotten better.
But Google is bigger than U.S.

Globally speaking, they have more influence and power.
SSE String Functions for x64
Nix-generated paths don't contain spaces, so it's unnecessary to quote those variables. Of course, as a developer you have to understand this.

The semantics of shell string interpolation are generally not that hard to learn, compared to learning all the nuances of programming in general that can make your program incorrect, so I find it a bit strange how it's considered to make shell completely useless for scripting.

Shell scripting has been working pretty well since, like 1975! It's not that bad!
LLVM can remove allocations that are unused, but that's it.

There's been talk of doing escape analysis for allocations on the mailing list, but so far nothing has been done as far as I know.
Jules Verne TIME CAPSULE excavated containing  mystery objects
Apple made the standard API return garbage in iOS 6, and the API would probably trigger an analysis error iTC, so if they were getting the MAC address it was via much sneakier means.
I remember when this first was announced, seemed like a really tricky technical problem, and I definitely never understood what tech they were proposing. Does anyone know if they ever had a prototype?
dupe, please check before submitting!

https://news.ycombinator.com/item?id=14159963
I don't see it as a matter of absolute scarcity. In the book, drinking water for the poor is scarce, but the upper middle class has access to fountains and gardens, etc. If you think of it as a matter of control, it makes more sense. If you're on the inside of the arcology, everything you need is provided for. If you're on the outside, you're on your own. Resources are kept artificially scarce for any number of reasons, but mostly to support the status quo.
Yes. And why didn't he explain how he turned the table on his high school bullies. Odd to include that psycho analysis and then leave out any details there.
"Using an email digest service it owns named Unroll.me, Slice collected its customers’ emailed Lyft receipts from their inboxes and sold the anonymized data to Uber. "

Can someone explain to me the mechanics of how this happens? I use Lyft, which emails me a receipt. How does Slice get a hold of this? Does Lyft sell it to Slice?
If you can buy a new phone for $5 and the referral bonus is $20, there's $15 arbitrage to be made just by buying up as many phones as you can.

So I think their goal is not so much about identifying people, but identifying devices in order to prevent this loophole.
Today, as a default, multithreading. But that's an implementation detail. Actually, Bonobo does not support coroutines (as in asyncio coroutines) so it would be a lie to market it this way. The plan though is to allow to use coroutines/futures in the future, for specific reasons (like long running/blocking operations where keeping output order tied to input order is of no importance). Still, there is a lot on the roadmap before this becomes a priority.

I note that I still have a lot of work explaining in simple terms what is actually bonobo, without falling in the trap of "overgeneral description".
Nobody needs to argue anything. just block google in your robots.txt if you are unhappy. case closed.
Network security in the microservice environment
Why not both? Changing the port is so trivially easy and just moves you out of the way of the majority of low-sophistication automated scans.
Yes. I have a license for it and the Vagrant plugin but the experience is not great. Too many rough edges that I couldn't pitch that idea to the rest of the team.

VMware would be ideal since it works on all three platforms we care about and has great performance, even with the added costs.
My point is that the spec does not give the behaviour-to-machine-instruction mapping, only the other way round, and reversing the mapping is non-trivial.

Table driven assemblers and disassemblers would be straightforward to produce from this spec, yes, because those just need to care about the instruction patterns and the mnemonics. A compiler backend needs to care about the semantics of the instructions, which are in the pseudocode, and thus harder to automatically reason about. (For instance lots of the instructions include an add somewhere, but how do you find the one that is just a plain add rather than saturating or simd or also setting the condition flags?) Writing something smart enough would I think be vastly more work than just doing a compiler backend by hand, and likely produce worse code anyway. (A sibling comment suggests it would be phd-thesis level work and I think I'd agree with that.)
That only seems like the right move because this week you hate Uber.
Further proof it's a pure commodity service and customer satisfaction is the most important metric for them to measure.
> They probably used a private API to do so

My understanding was that Apple made those APIs return garbage anyway, so more hacky methods were required.
This reads like it was written 10-15 years ago. But apparently it's new.
> I'm also thinking about a US based corp using Atlas from Stripe.

I was thinking of Stripe as well, but unfortunately they don't support LLCs as yet. Which means I'll be doing all the leg-work myself.

I will be noting down all my steps and will one day blog about my whole startup experience.

That said, since stripe now works with US based companies. I may apply when they do roll-out LLC support so then I can get some of the benefits. That is of course, if they'll have me!

> May I ask in which sector you're working, goods or services?

I'm launching a SaaS very very soon. It's actually ready now, but I'm still not happy with certain aspects.

> How do you feel about the hassle that comes with an US based corp compared to the ease of a UK one?

I have held LTDs in the UK in the past. It was trivial to incorporate with a 3rd party service and then retain the services of an accountant to deal with HMRC.

I have this same view for the LLC. The only issue I have so far, is dealing with long distance calls. Some vendors are happy to talk on Skype which is great. But the majority always want you to call them.

In addition, I have dealt with lawyers, accountants, opened and closed businesses and bank accounts before, all in different countries, the US, UK and EU. I am not too worried about whatever the process will throw at me. My mindset is, if something happens. Just deal with it and move on. No point worrying about it.
don't want to pretend this obvious thing doesn't exist

You mean like their shoes, the shirt they're wearing, that kind of thing? Because the eye patch is only unusual to you, the person with the eye patch puts it on every morning. Hell, they might have patches in different colors.

You can ask, but keep in mind that asking only benefits you. Because I'm sure the person wearing the patch has long ago gotten their fill of answering that question, and doing so is no longer of benefit to them.

So to speak personally, I don't ask. It's obvious that there is some malfunction in one of their eyes, I don't need to ask because that's all I need to know. Asking for more detail, well, I just met the person. Why would I think I can now delve into their personal details just because they're wearing an eye patch? More so, I don't ask because I'll betcha they are sick...and...tired of answering to random strangers who, truth be told, don't give a shit about the person and just want an answer to their curiosity.
That was to prevent homosocketuality.

http://www.saildart.org/IMPSER.DOC[SS,SYS]

IGN	3	Illegal Gender (Anita Bryant feature--sockets must be heterosocketual, ie. odd to even and even to odd)

The host is trying to engage us in homosocketuality. Since this is against the laws of God and ARPA, we naturally refuse to consent to it.

http://www.saildart.org/FTP.NCP[S,NET]

gayskt: outstr [asciz/Homosocketuality is prohibited (the Anita Bryant feature)
That's a clever media hack. Using provocative headlines and misleading lead to get clicks and shares, but using a separate medium (Twitter) to get away with it.

Clever, but it's disappointing that even NYT is turning into this madness.
The drivers also subsidize the cheap(er) fares.
FLAC is bit to bit identical to WAV after decoding.

In layman terms, it's like zipping and unzipping a .wav
It may be implemented as call-by-reference, but the semantics are not the same as what one thinks of when he hears that phrase.
It's pretty sleazy.

See https://unroll.me

It purports to be a convenient tool for end users. But sells them out for revenue.

Edit: I'm sure it's in the terms somewhere. But to me, something this intrusive should be stated up front if it's not obvious.
Maybe if you're jail broken? But if you're not then no way.

I believe I tried long long ago on iOS and couldn't get it to work, but I don't know if I'm remembering correctly.
Mostly Human
What goes around comes around. Reminds me of that time when Uber would issue throwaway credit cards and burner iPhones to people, so that they would order and cancel Lyft rides...
Why not both? Really, first thing is to be on top of your pure iptables config. Even better, is to realize iptables is being deprecated and it's time to learn nftables. No, don't use nice little gui's or menus that abstract the data entry away for you, you need to understand how the firewall actually works.

Then port change, SSH hardening in general (key + pass, google pam auth module, etc), then fail2ban, denyhosts, sshguard, tallow, etc.

And all that doesn't matter if you don't see any alerts. Need a hids (I like OSSEC) and a good logging system for syslog etc alerts.

Number one issue I see with servers (besides badly secured in the first place), is a bunch of logs no one ever actually looked at.
(From unroll.me's copy on their front page)

Instantly see a list of all your subscription emails. Unsubscribe easily from whatever you don’t want.

Unroll.Me is a free service

So they analyse an inbox, and siphon the data in the process.
When there's that much VC money on the line, breaking the rules gets you a meeting with Tim Cook.
I think a case should be made for pragmatism. Informing an app maker they are breaking rules when their app is installed on hundreds of millions of devices is the right move ... for your customers.
Couple of things:

1. "Call/pass by XXX" terminology usually refers to language semantics, not underlying implementation details. In that respect, the call-stack mechanism is largely orthogonal here.

2. According to this oft-cited article (in the context of Java), passing an address under the hood is not sufficient to make a language call-by-reference. http://javadude.com/articles/passbyvalue.htm - AFAIK Python would "fail" the "Litmus test".

(EDIT - clarify what's not call-by-ref)
If it "quietly stopped working" I'd have to assume the latter.
course like these make me wonder ... how much one can dress up basic probability. i think the answer is A LOT
Yes. But. Language designers go out of their way typically to hide this underlying truth, by for example implementing "call by value" when the type of the value is "Customer" or whatever.
Buried lede here:

"They spent much of their energy one-upping rivals like Lyft. Uber devoted teams to so-called competitive intelligence, purchasing data from an analytics service called Slice Intelligence. Using an email digest service it owns named Unroll.me, Slice collected its customers’ emailed Lyft receipts from their inboxes and sold the anonymized data to Uber. Uber used the data as a proxy for the health of Lyft’s business. (Lyft, too, operates a competitive intelligence team.)"
The firewall extinguisher hadn't even been invented yet.
Their entire selling point is that c is dangerous and rust is safe. It sort of creates an adversarial relationship.

That said, while it might be annoying to serious c programmers, they aren't really the intended audience. It's new programmers that matter. Or people who bounce between languages anyway.
GloBull Warming Hokum on 'Earth Day'
The fish shell is awesome
"Unroll.Me is a free service". Looks like people forward their email to unroll.me which creates a digest version of all your Facebook notifications or something.
The State of Wyoming Has [Only] 2 Escalators (2013)
Firstly, what's "not good" about having too many taxis or Uber/Lyft drivers? I don't think people in the outer boroughs would complain.

Secondly, even if there's a good reason why that's bad, it's a problem that would sort itself out. The supply (drivers) will decrease until it meets demand (riders).
Another important thing - when you want something you should ask for it. So many times I didn't ask because I _thought_ it wouldn't happen...
SRE is a job function. By design, it's intended to be equivalent in pay and status with developers (SWE) to overcome the bias against operators and sysadmins in organizations. This is an important recognition because cloud-first operations requires a lot of automation and coding expertise that previous operations roles did not demand.

DevOps is really a process definition with Lean system thinking and code workflow priorities. Many people will tell you that it is NOT a job function but a culture or approach. DevOps for developers generally means CI/CD pipelines and owning code into production. DevOps for operators generally means building configuration automation and integrated monitoring tools. In this was, DevOps highly complementary of the SRE job function.

I've been writing a lot about this on my personal (robhirschfeld.com) and company (rackn.com/sre) blogs. I'd be happy to discuss this in more detail here.
These paradoxes seem to be tied to not distinguishing between correlation and causation? True statements are perfectly correlated with all other true statements, and material implication doesn't distinguish between them even if they have different causes.

When reasoning informally we do try to distinguish between correlation and causation.
The idea was in the air. Someone was going to it big. Even my buddy and I prototyped a crappy ride hailing app. When I scouted potential competitors, I found about a dozen.

Uber's innovation was financial (fleecing investors), not technical.
Is it against the rules to track via the mac address?
> it's a little excessive to assign such heady altruistic qualities to Satoshi as if he/she/they knew ahead of time what bitcoin would become.

> It'd be a shame if we elevated the experimentation of one intelligent person to be elevated into religion...

Just giving credit where credit is due. If you invented a new open source technology that yielded a market that went from $0 ---> $19B+ in 8 years, then I'd think you'd deserve to be financially rewarded for it, and I may even have some nice things to say about you too.

> I really respect bitcoin's implementation as a thought experiment

Cool. But Bitcoin would still be a BFD even if no one used it. It's an elegant technological implementation of a decentralized immutable ledger and currency system that doesn't require you to trust someone else with your money when you want to spend it. It still puzzles me how many posters on HN (a forum of creators, engineers, and inventors) disregard its technological achievement. Perhaps the idea that "real money" doesn't have to come from some authority figure is simply too offensive?

> I think its use as a permanent basis for a real-world currency and/or a storage/execution platform for programs is misguided.

And therein lies one of its best advantages over traditional currency: it's opt-in only, so you don't have to use it if you prefer not to.