skysight-inc/HackerNews huggingface dataset:
Memory from alloca has function lifetime, while VLAs and compound literals have block scope. In a loop alloca could easily blow your stack even if you limit each allocation to something small. This is a serious pitfall, especially when using alloca with macros. The reverse is true for VLAs and compound literals in macros that return a pointer--the caller might not know that the lifetime is block-scoped and not function-scoped.

Also, alloca and VLAs aren't necessarily implemented the same way. When instantiating a VLA a compiler might extend and test the stack pointer in page-sized increments so an allocation doesn't extend past the guard page without triggering a segfault. An alloca implementation might not.
> very little is means tested in Sweden. ... As a consequence, the welfare system is as much of a transfer between rich and poor as it is between different parts of life.

This is an important insight. It is the reason the US social security system is presented as an "insurance scheme" that "everyone pays into" rather than what it actually is in practice: payroll taxes and payments to various people. Medicare pays out regardless of income.

I used to wonder why social security wasn't means tested (i.e why they should send Bill Gates, or even me, a check). Well, there's a lot of literature on how benefits are distributed and their popularity (hint: make it look like you're handing out to the middle classes). Without it, you get the US's punitive approach to much of welfare, the modern day equivalent of Victorian poorhouses.

Social Security takes this theatre to absurd lengths, by the way, even sending out letters purporting to show how much is "in your account", printing out the bonds that it purchases in putting them in physical file cabinets (I'm not kidding) and generally maintaining the fiction in full movie style. I can't tell you how many otherwise intelligent people I've spoken to who have been taken in by this ruse, and support social security despite opposing "welfare." I wish the government did more of it!
Internal Email – as Post
Are you sure you understood the site? You don't give them money or anything.
If Moby depends on LinuxKit, why the LinuxKit's README ask you to build the Moby tool as first thing, and all the examples imply using moby? Shouldn't LinuxKit be agnostic of the existence of Moby?
35 Years of American Death
> I've worked with functions in JavaScript that change functionality radically depending on whether you pass an integer or an object.
> I thought this was the way of the world until I got deeper into typed languages, where you learn why not doing that is good. Type envy still stings though.

This is just polymorphism, isn't it? Why is this not a good thing?
I wasn't responding to you. The person I responded said, "I find the Java ecosystem terrifying" and I pointed out how silly that statement is.
The only time I click on links in emails is when I've just requested them. Like I've just set up an account and it says it is sending me an email to verify the address. If it is some email out of the blue I would never click the link or open the attachment. I actually enforce the attachment rule by configuring my mail client to only support "save" as an option for attachments.
As an example, the Xiaomi Air 13 is smaller and lighter than an MBP 13, with an equivalent trackpad, albeit slightly smaller battery (8h web browsing), for ~750$. Also aluminium unibody but easily serviceable (even has a second SSD slot).
Agree on Emacs. Tried to get into Emacs few times because I am not the biggest fan of VimScript (I use it quite often though). So, I thought that it's worth learning Emacs with a proper Lisp underneath. But I failed everytime and getting back to Vim felt just natural and as easy as turning on my PS4.

One thing with emacs is that some Alt bindings do not work over remote connections. Maybe it was my fault but I could not get all Alt bindings to work.
Kekulé's account has been challenged, partly on the basis that at least two others reported very similar (and better organized) ideas right about the same time. The speculation goes that Kekulé may have been trying to bypass the priority controversy with something that couldn't be refuted - the dream story.

http://www.nytimes.com/1988/08/16/science/the-benzene-ring-d...
Yep, it's just a small message, link out, and screenshot.

> This may or may not be the site you are looking for! This site is obviously not affiliated with Apple, but rather a demonstration of a flaw in the way unicode domains are handled in browsers.
I've used the Supermicro enclosures that turn 3x 5.25 bays into 5 3.5" bays and been pretty happy with them. Something similar to the CSE-M35S. More recently (5 years ago now :-) I tried some 5 bay E-SATA enclosures so I wouldn't have to pack these Supermicro into the chassis, and the eSATA were nothing but trouble. Hopefully better these days.
The backend is mostly in pure C++ (~500KLOC or so). The frontend is in JS (~200KLOC or so).
Yikes, my media query game is weak. Will fix.
Who's "they" in this little conspiracy theory?

There's nothing viral about using GPL code. Your docker containers are probably running on Linux, which is also GPL, and that has neither infected nor affected you, has it?
Here comes one interesting problem - as an economic rival to China, if the US keeps refusing to sell its techs/high tech products to China, what US can really do about the current trade deficit with China?

For the general tech transfer issue, did the embargo actually work? Look at supercomputers, satellites, nukes including its delivery systems and jet fighters etc. It didn't work very well to serve the US interests. It is a failed system that probably slowed we Chinese down a little bit, but in a long run it gives your rival all motivations to invest heavily in _all_ those areas and eventually master them. When the US is basically forcing its rival to invest in itself, it sounds like a strategic mistake to me.
Semi-dense visual odometry, thats what you need to search.
For those interested, here is a more comprehensive view of the difference between taxation in Scandinavian countries and the USA:

https://taxfoundation.org/how-scandinavian-countries-pay-the...

Sweden itself would be marked by much higher VAT/Sales taxes -- which collect about 9% of GDP in SWE vs 2% of GDP in the US -- as well as higher income taxes, collecting 22% of GDP vs 15% in the US. Also, despite much higher corporate statutory tax rates, the US does not raise a larger % of GDP from corporate taxes. I was also surprised to see the top income tax rate in SWE phase in at only 1.5x the median income vs 8.5x in the USA. They also have higher income taxes on middle and low earners. Because of this, more of the difference in total tax burden seems to fall on the middle class than is commonly thought.
Jetbrains, Rational, Perforce, MySQL, GitHub, Trello, StackOverflow, Joyent, Powershell, etc as well.

The tricky part is that to monetize, you either need to master enterprise sales (which means that the product will take on some PHB-pleasing features that developers despise so they can get through procurement departments), or you need to be acquired by a big company looking to round out their developer tools offerings.
How would C++ help with data munging? No matter what tool you choose, you still have to go through the pain of getting your data into the shape it needs to be in to do the analysis, charting, etc.

Also, Python has plenty of abstraction capabilities, just like C++. There's no reason all your code should be throwaway. Make use of classes, magic methods, list comprehensions, hashes, the Pandas library (lots of powerful abstractions for managing data in there).
What a stranger taught me about Japan
Unit tests are a completely inadequate replacement for typing even if they actually do exist, which, as you stated, is pretty rare.

I think the best compromise is optional typing. The language should encourage it by default, but allow some variables to be declared as dynamic/untyped. This greatly simplifies things like parsing of JSON data, which should essentially all be considered a string until there's some reason to consider it something else, but enforces consistency and safety through most of the application. Haxe does a pretty OK job with that.
I would say that discoverability is a problem that games share with pretty much every form of media in the internet age. I've been thinking that one possible solution is to use less technology - organize local meetups and user tests, build a local community. BitBash in Chicago is an example of this, albeit on an annual basis: https://bitbashchicago.com/
Yine Kadın Cinayeti: Bıçakladı yakmaya çalıştı
Early signs of Apple's next big thing
Both your "good" and "bad" examples seem to be more operator-type roles. so much sysadmin work in many shops cannot readily be automated -- doubly so if all of the 'easy' stuff has already been automated!
I'm not sure that's the metric that motivates me: better to work heroically on an ambitious project which ultimately fails than to add tiny features to something popular-but-mediocre.
I spent days making RIPscript menu's - amazing technology for the time!
Impressive.

On a semi-related note, the fact that cloud providers offer managed Postgres databases is great, but things like this keep pushing me to think about bare metal in colo. A $20,000 server/backup combo with a couple of these will give me 5x the performance of a server that costs me $70k/year on AWS before provisioned IOPS. That's a huge gap to play with for taking care of your own maintenance costs.
> The best startups are ones that solve a pain point you yourself have experienced.

Aww, yisss. Case in point, EDA and, in particular, hardware description languages and tools. Every discussion I've had with someone trying to get into this has been so cringe-worthy that I'm actively avoiding now. Every self-professed hardware hacker thinks they have the solution that's going to end all this painful Verilog kerfuffle and yet they're so, so far from getting it.

Like the folks who thing the biggest problem with Verilog and VHDL is that they're so alien that it's hard to get software developers productive with them. Lack of electronics knowledge is what prevents most software developers from being productive in Verilog. A "better" language won't help. Paying attention in their Electronics or Systems classes is going to be ten times more helpful than a Scala/Haskell/whatever-is-fashionable hardware description language.

Or the people who think that development tools are what's holding FPGAs back and that FPGAs would be everywhere, were it not for how hard it is to program them. Trying to explain them that FPGAs are pretty slow gets impossibly difficult as soon as the words "Intel" and "softcore" are mentioned.

Not that there aren't a lot of things to improve in FPGA development tools, or in hardware description languages (which is why you see so much work being done on increasingly higher-level synthesis tools). But unless the number of millions of dollars you're willing to invest is not at least half the number of years you've been studying high-speed IC design, chances are you're as far removed from having a serious answer to all these problems as you are removed from being a modest person.

/rant
This does not work if the link is in a browser translating punycode, i.e. if the URL is in gmail or as in this example in a web article, hovering over the link shows the translated punycode, i.e. apple.com.

If you're in Firefox, about:config, search puny, change that from false to true, NOW when you hover over this URL you'll see the untranslated punycode which is the real URL.
There will be many Python 2 production codebases that will forever remain at Python 2. Whether Python 3 is a new language or not will not make a difference.
1. Legal

2. Excessive costs, lack of performance among professionals

3. Change in attitude seems to be the biggest factor. If lawyers stop being about fighting and competing and persuading and more about tackling problems, getting to the truth and finding solutions, we can have a much better chance of succeeding.

There is a lot of opportunity for automation that no one seems to want to get involved in. A good example is document discovery which has been largely automated.

Other areas that could be automated include divorce. For example, in my jurisdiction what each partner is entitled to on divorce in terms of child support and alimony and division of property are set. There is some room to argue about custodial arrangements but not very much.

Given this - there is absolutely no reason to have many years of contentious divorce suits. If there was someone way of just entering the information into a computer and informing both couples of what they are entitled to and then working from there - I believe we would be much better off, because, although I haven't done alot of divorce suits, but in my limited experience it seems to me that lawyers certainly have a large role in exacerbating them and needlessly.
Really nice and can see why you needed the performance for this project. Funny that you mention Super Hexagon because it's the game I'm using for my POCs!
Some people like to claim that old storage technologies go away. But in reality old storage technologies live on along side of new... all that happens is that we end up having more tiers to deal with.

Drum magnetic memory has been replace but we still have spinning rust, tape, optical, DRAM, SRAM, SSD...
I checked my payslip - all is good, I am not pointless, yet!

However, there is a closely related topic: bullsh1tting!

https://www.linkedin.com/pulse/how-bullshitters-just-survive...

P.S. my favourite scene from the video is the guy rolling his head up and down the keyboard answering emails. Must try it.
The filter is slow in regular-size mailbox and almost unusable on my bloated gmail. I don't mind getting results progressively as the messages are scanned, but it runs on the UI thread and UI is horribly slow while the filter is working.

The search is just broken. It gives messages that don't have anything of search string in them and misses the right ones.
Wait, that doesn't sound like a problem with your vim config, it just sounds like you had a broken version of macvim.
Is a rewrite necessary to improve on those aspects over modifying the existing codebase?
That is my biggest concern with the health of the GNU Social network at the moment. Some operators of popular nodes are configuring their nodes to reject messages from all users of some other nodes, which they deem to be housing undesirables.

I think people have forgotten the origin of John Gilmore's famous quote, "The Net interprets censorship as damage and routes around it." He wasn't talking about the people of the internet (though I believe he later said it wouldn't be wrong to interpret it that way), but the way the Usenet network would find a way to pass messages across the network, even when some Usenet node operators decided there were messages they didn't want to pass.

Those who do not learn their history...
Dinosaur ancestors in the late Early Triassic
Exploding Complexity. It can take years to become an expert in a tiny little nook of my field. Knowing how to use the software and the theory behind it is very challenging.
Yeah, solidly 80-90% of my time working has never really led to anything like enough benefit to anyone to justify it. Much of it's never benefitted anyone at all. There's a ton of stupid money in software right now. Enough to waste tons of our time on 9 things that don't work for the 1 that does.

Doesn't make it feel good to be a part of such an impersonal and abstract process, especially when software's already kinda impersonal and abstract on the best days.
I didn't say "what's good for Google is good for the internet", I said, in effect, "what's good for the internet is good for Google".

And please do refrain from fixing my posts for me, I am perfectly capable of expressing my opinions without your assistance.
Bonus+: or will ship projects that are pointless.
Ask HN: Any example SaaS doing open-source to not server free users?
Do you know any companies that were doing SaaS and release their software (part of it) to not serve free users on their servers, however to give them ability to use their software? Any examples? Examples of startups?
No sync with 3rd party APIs just yet, but planned.
Early attempt at GPS
This to me is always great PR for Tesla (for those who look into the details). If they're willing to do a recall for something as not-safety-critical as this, it means when a real safety issue occurs they will recall. There have been many cases of car companies not recalling for cost reasons, this shows that's not how this decision gets made at Tesla.
Steemd is now completely free to use with an MIT License
I would say that a lot of Facebook competitors aim for the kind of advantage you are describing. And inherently fail because of the combination of Facebook being able roll-out a similar feature, Facebook having network effect and Facebook not being especially demanding/abusive towards its customer base - on the later point, Facebook has banned posts or people registering false names but back-tracked and/or not been especially aggressive about it. They began as the tool of the early adopter but now are the tool of your grandmother with the stickiness of that.

Consider that when Google decided to invest in Google+, they dove immediately into demanding more from customers than Facebook did with their real names policy.

With all its success, Facebook's profitability still comes into doubt from time to time because they aren't squeezing their customers as they could. Which is altogether is to say that all Facebook's rivals have scheme to extract more from the customers than Facebook and thus it's similar to, but as extreme as Craiglist rivals - they can never be as good they because they're constrained to come with a model they expect will eventually make more money.
Senator Ron Wyden Urges Senate to adopt 2FA [pdf]
Have you tried WorkFlowy? It is basically lists of lists.. of lists and so on.

Never liked there UX though, but the concept.
Google doesn't use EV certs.
Shameless plug: I made Code Cards (https://codecards.me/), which helps you remember programming concepts by active spaced repetition. Think of it as Anki but made with code specifically in mind.

In the interest of full transparency, I think there are some things missing to make it the best tool it can possibly be. I'm still mulling over how to tweak it so it works better w.r.t. motivation/relevancy and availability/convenience.

Write-up: https://www.oskarth.com/srspractice/

HN thread: https://news.ycombinator.com/item?id=13521066
The point is not to change their minds, it's to change the mind of anyone who may happen to read both quotes.
I still have some 3.5" floppy disks with my BBS and the door's I wrote for it. My parents still use a USB floppy drive (and have several) because they have a sewing machine that uses it. Perhaps I'll give this a try.
Monopolies maximize profit by setting a price greater than the market clearing price, causing a lot of unmet demand.
Basically I am not able to compile my particular codebase in clang or gcc too easily since it's an embedded system. But many other IDEs have no problem inferring autocompletion without requiring compilation.
YouCompleteMe itself was a bit of an issue as I have to develop in Windows and it's not quite as well supported.
Right this is the problem. We need to ban all opioid prescriptions. 80% of heroin addicts got addicted because of the opioid prescriptions obtained legally. According to the documentary on HBO, drug companies made $5B on opioids in 2014 but the economic costs were $55B.

If people have chronic pain, we need to be more progressive and allow medical marijuana everywhere. (There are also quite a few studies that show that chronic pain is not helped with opioids anyway.) If people are in the hospital or end-of-life/hospice, then give them morphine or whatever they need but we need zero prescribable opioids.
> I use Thunderbird as a local offline mail client.

I think that the intention is to keep it that way. They're proposing mostly a reimplementation of the UI, from Gecko+XUL to HTML+JS, but also a reworking of the interface between frontend and backend code (I guess between the model/controller and view parts of the code).
And now we've come full circle to justifying the negativity with the very sentence that was inserted to defuse it...

Good thing it's all OSS. Don't try to solve problems with a pitchfork, when a simple fork will do.
One of the most important moments during the political year in The Netherlands is 'Prinsjesdag'

>After lunch, the Minister of Finance proposes the next year's national budget [...] The presentation is followed by a cycle of parliamentary debates on the budget. [...] It is the most important moment for parliamentary policy making, as MPs can amend the budget to finance specific plans.

The government also provides material for schools to present to kids during class [2] where it's usually discussed the different budget chapters.

[1] https://en.wikipedia.org/wiki/Prinsjesdag

[2] https://www.rijksoverheid.nl/onderwerpen/prinsjesdag/inhoud/...
I ran it too - could never afford MajorBBS or the successors and it was easy to scale from 1-24 nodes. I even ran the weird BBS/ISP hybrid WINS Server but wasn't good enough to be considered a real ISP.
I was responding to your "That's no guarantee." statement.
It's deeper than the theme.

It's the paradigm, the absence of automatic sorting of emails (priority/promo, etc.), failure of prioritizing common actions in the UI (everything is the same, the spam folder and the inbox folder are given the same importance, "compose" is not prominent, etc.). I could go on forever.

IMO, it's kind of how good software was made 10 years ago, but now we're used to much better.
I'm less than impressed by the federation model of Mastodon (though it doesn't need too many tweaks to make it work). The main problem I have is the fact that you are pretty tied in with your instance. I think most of the problems I have viewing content from other instances can be solved with better clients:

- tag searches only cover posts that your instance knows about (i.e. it searches the federated feed rather than querying a list of federated instances)
- You can't customize your "federated" feed to merge multiple instances' local feeds (especially important on small instances and when looking at small instances).

The more fundamental issues that I think has to be addressed at the "protocol" level is that I'd really like my identity to be portable. As it is now, if I like 10 different small instances, I have to join all 10, then I might have to repeat or boost my posts from all the relevant instances to get them to show up in the local feed - plus people who want to follow me will find 10 different accounts on different instances and not know which ones to follow. If, client-side, I just create a bot that auto-posts on multiple instances, if my followers on a given instance are following different versions of my account, the federated feed on that instance will be spammed with multiple posts.

I think some sort of customization where an identity is at least partially independent from its instance is required here.
"Bamboo" is plain old rayon with some marketing pizazz.
Thunderbird already uses a lot of JS. The only difference I think is that Thunderbird works on the XUL instead of the HTML DOM.
"Terrifying? What if something REALLY happens to you? You used 'terrifying' on the Java ecosystem!"[1]

[1]: http://zenpencils.com/comic/95-louis-c-k-we-dont-think-about...
Facebook isn't beating its biggest rival (yet). Google owns 54% of the digital ad market in the US, to Facebook's 20%.

Social networking (just as Search for Google) is just data collection and distribution for its real product, ads. I wouldn't be surprised to see Comcast take a big bite of this market in the near future too (since they can now compete via data collection and distribution).
The part manufacturer is covering the cost in this case, not Tesla.