skysight-inc/HackerNews huggingface dataset:
> If the loop does significant work and was calibrated for an expectation of 65k iterations, stepping to 2 billion (let alone a few quintillion) is for all intents and purpose endless.

And if it's not, it's not, the point being that endless in this case would be meaningless outside it's literal meaning unless we know more about the specific case.

> No objection there, doing that is making invalid assumptions, my point is that moving to exact-size integral does fix it.

No, using an exact value fixes it. Any unsigned integer type is just fine for any integer value from 0 to 65535. If you change the type to a larger integer type without changing the supposed iteration count, the code would not have this problem, and if you changed the value to something higher than 65535 without adjusting the size of the type, you would have a different problem. Thus, the problem described here does not pertain to the type of the variable used.
> if you were on a project which required C code and you used Ooc would your co-workers immediately barf if they saw the C code you committed to the repository?

Commiting generated code, are you crazy? I don't care how pretty it looks, if it's not source code, it doesn't belong to source control.

If you still want to put generated C dode in the repository, you can, but the second you type `push` command is the second your C code becomes source code. Treat it as such.

Or, just put Ooc code into the repository. That is the source code after all.
You have an attitude problem.

First of all I've worked with Unity myself and I know how nice it is. It's not the end-all-be-all of game development and it's not suitable for all genres.

Second, like someone else said, this is about a language - not a framework. Unity locks you into C#.

Third, the guy says himself 'I absolutely DO NOT mean to say "hey, you should use C too".'. He's not forcing you to write games in C, he's enjoying writing games in C and explaining why.

If you want to be a good developer, especially a good game developer, consider listening to people who have opinions and experiences different to yours and are willing to explain them. Evaluate their argument. Come up with a rebuttal, share your own experience, by all means - but don't be rude, aggressive, pompous, or a number of other things you are being right now.

This is why the games industry has a NIH problem. Not because people want to develop in C, but because every single dev has their own idea of what is right, what is wrong, and EVERYBODY ELSE is wrong. You want to fix the industry's NIH syndrome? You start by listening.

And as a sidenote, the guy didn't say "Why I'm implementing my own physics/graphics/sound/UI engine". He said he's using C. There's a lot of C libs for games. I don't know if you know this, but Unity isn't the first framework and C# isn't the first language.
My solution is to write Jinja templates of C source files: https://github.com/mcinglis/libarray

Libarray (and my other C libraries; Libvec etc) have served me very well on a 20k LOC project. With ~150 source files, the entire project builds from fresh in 20 seconds on a i7-2620M. Rebuilds are super-fast; with proper Makefile specification, there's no need to rerender/recompile the templated files.
> you can get ~2% back on all purchases

Who pays for these 2% cashback? Most definitely not the card networks, and not the merchants. It's the CONSUMERS who pay for their own cashback.

> Also, has insurance and foreign exchange fee benefits

That "insurance" stuff is highly questionable imho, and most people don't ever need the forex benefits.

> Debit cards: if it gets compromised, you start losing cash out of your account

Chip and PIN. It's not hacker proof either, I admit, but way better than CCs.
C++ when it is practiced in a "standard" way using the standard library and all the standard advices (such as using boost libraries whenever possible) employs a style of programming that generates a _lot_ of intermediary, supposedly zero-cost abstractions that the optimiser then have to work hard to remove.

This is why I say supposedly zero-cost because although your users may not pay for them, you as a developer will pay for them through either slow compilations or alternatively slow debug builds.

C++ can be a good tool if you have the right discipline, however the discipline is hard to follow if you bring a lot of dependencies in.
I don't know, HN has changed or someone's stalking my comments. Or perhaps, despite my efforts not to, it sounds like boasting. I was just trying to share my experiences of writing YC-sized apps and the time it took me, and I know better programmers than me.

The thing about this is if you read about ycombinator it's all about getting a product out of the door within 3 months. And they don't expect you to have a product when you start. In a team of two they seem to say one person should be focusing on the business side, so that is one person getting a product out of the door AND get some growth in 3 months with some help from the other. They expect it themselves.
Clearly you don't live in one of those places my bet would be is given the choice the people who protest there would rather be beaten and a live than dead.
It's not the total transaction fee that is limited but only the interchange fee. Merchants still have to pay acquirer fees and scheme fees on top.

The cost got down around 25% for merchants since the regulation, which is significant but not that much.
A good read!
To be fair, the correct version isn’t very arithmeticky.

memset(numbers, 0, sizeof numbers);
Stephen Hsu on Cognitive Genomics (2013)
I see this statement often that renewables have reduced our demand for oil, but that doesn't seem to be the case and I don't think it explains the price drop:

https://www.eia.gov/forecasts/steo/report/global_oil.cfm

It looks more like the market is being flooded with oil.

The price of oil is probably unsustainable for all produceres at these levels. Either the price will have to increase or the number of producers will decrease.

I read somewhere that the Middle Eastern countries can continue at these levels for about 5 more years. My guess is that they will try to squeeze as many competitors out of the market as possible, increase demand, and scare off any potential future investments in competing energy producers (alternative or conventional) for the following decade.
> As an aside, I imagine "A2L" is short for addr2line.

A2L is for "ASAM MCD-2 MC Language" [0] (but it does contain addresses for internal variables and associated information related to the interpretation of the variable's meta data, so your guess makes sense).

Mostly, A2L files are generated by using the concrete addresses from an ELF file to fill a template A2L file. This file can be used with something called "application tool", which is mostly either Vector CANape or ETAS Inca, to either manipulate or read out the variable values from the live ECU via the XCP/CCP protocol. XCP also contains mechanisms for so called bypass operation, where stimuli that are generally received via sensors are fed from the host PC (used mainly in stand-alone test scenarios for the ECU).

[0] https://wiki.asam.net/display/STANDARDS/ASAM+MCD-2+MC
No, the limit also applies to other smaller national schemes.

The real difference between Visa/Mastercard and Amex/Discovery is the the former only provide the payment network (the interchange is used to give a cut to issuing banks) while the latter issue their own cards.
The situation has dramatically improved in the last couple of years.

I've been on a fairly extensive trip of Europe recently and I had to use my credit card only on the French toll routes, everywhere else my regular debit card worked. As opposed to previous trips where far more than half the expenses ended up on the CC.
There's a difference between embedding and using a Lua engine in a game and writing the main game code in Lua. The more accurate question would be, "how many games are written in pure Lua?"
Do you mean “must not be quoted”? $@ shouldn’t be, most of the time.
It's especially interesting because you can also compile Go to JavaScript, and Go already runs natively on iOS and Android.
Best of luck on the next adventure!
Look what Saudi Arabia did a week ago with the 47 executions, or what happened in Egypt a couple of years ago.

If I were in the situation of one of the victims, I'd prefer to die a (comparably) quick death on the field rather than being captured, tortured and then killed. At least these people died by firing squad, there's way worse ways to die (e.g. being tortured to death, crucified, ...).
Fair dues to QANTAS for milking this on social media but spare-engine ferrying was common from the dawn of the jet age.

The 707, 747, DC-8, DC-10, TriStar and VC-10 all had an underwing hardpoint for the extra engine and carrying it was fairly routine; just apply the compensations laid-out in the flight manual.

Four-engined TriStars looked funny...

It is rare nowadays due to the ubiquity of twin-engined airliners which have neither the underwing space nor the take-off engine-failure margin to ferry a spare. Instead their spare engines are stripped and sent in freighters, usually by the engine manufacturer who provide power-by-the-hour contracts to the airlines.
Dart is a great language. I tried it on day one and it has come a long way since then. But in my experience... every time I read an article trying to justify why something is still relevant or important in a company roadmap, it dies a lonely death a short time after.
Occam's Razor would imply someone with "political connections" would have the wherewithal for more convenient alternatives, such as moving closer to school.
Best npm package ever
I can't wait to see videos of people trying to put their tires into microwave ovens to get rid of RFID tags, like what Germans are doing with their IDs :-D
> I'm wondering if there are plans to replace Java with Dart or Go on the Android platform.

There are very few languages choices where I prefer to keep using Java. Go and Dart are two of these.

I'm a dedicated Apple skeptic, but Swift is nicer than both of these trainwrecks.

If what the article claims is true (that Dart can be used to target µCs), which I highly doubt, it might become interesting for me. My doubts arise from the fact that the standard library for a language makes some opinionated design choices, and in my opinion it's impossible to make an idiomatic library that works the same (and is usable!) in a GC context (existing deployment) and a non-GC context (embedded).

It's sad that of the dynamic languages, Python and Ruby are performance deadends, and LuaJIT is too obscure for most people.
No room for mistakes. You must be as perfect as I AM!!! Haters are my biggest fans.ha-ha
Most new factories are now 99% automated. Literally 5 people running the whole facility.
I love C too. Better to love them hate right? Make love,not war. Think youth would agree
Why We Keep Playing the Lottery
> The library support [in Go] for games is quite poor,

I'd like to know the author's familiarity of Go libraries. Perhaps he's unaware of what does exist and makes false claims, or perhaps he's saying accurate statements and just has really high standards.

I help maintain many of the Go libraries/wrappers for games, so I might be biased, but I'm happy with what is available. Almost more so than when I was using C++, because Go packages can be made go-gettable and very easy to include and distribute, unlike with C++.

I've also not hit GC problems so far, but arguably my games are just not demanding enough yet.
I have people to do that for me. Thank you for the txt chit chat. Have we met? Maybe we should.
I can't speak for the article writer of course, but the Python-like syntax / significant indentation would be a deal-breaker for me. I'd suffer through a lot to avoid that. And back when I used C a lot myself, I found that even more objectionable. I often care more about syntax than many other language features - with a good syntax you can sugar over a lot of other deficiencies, but a syntax you dislike will stare you in the face every moment you use the language.
You don't need dual flash, just use U-Boot with the bootcount feature to implement failover.
Recognizing the Breaking Points of Management Structure
U8plus smart watch quick teardown and uart
As someone who has been working on something similar (see old proof of concept here: https://ciety.com - sorry for the expired ssl certificate), I applaud your efforts.

I have learned a lot since the version above (a lot has been changed) and I see room for a lot of improvement. I also have a nice desktop client on the way since you shouldn't be doing crypto in the browser/javascript, feel free to add me on Skype (samgranger) or email me: sam.granger@gmail.com - I'd be willing to give you some pointers. I'll be releasing v2 soon (which will also be open source).
I do write a lot of Go and it fits in the Oberon/Modula-2/C family. It is a general purpose language and the design of the language does not really make it a system language. In fact, one could argue that many properties that people expect of a system language (e.g. no GC) are missing.

Currently, Go is indeed popular for network services and command-line tools, but I think that is due to it's standard library supporting those use-cases well. But Go will surely branch out as its ecosystem matures.
Thing is, you really need the "300Mbit" rated 802.11n to get reallife 100Mbit in good conditions. In a lot of cases only 802.11ac capable devices really go over 100Mbit - the 1600Mbit stuff is mostly just marketing speed unreachable in practice.
> There is also nslug2 and opkg...

Whoa, people still use these in the days of Raspberry Pi's? Oo
never knew it existed until today
It is a container that intrudes on your data structure. For example in a linked list the next pointer is inside your structure instead of your data structure being wrapped in a node type.
You can have a look at the flutter demo app.

I only tested the Android version and it is still extremely early.

Very basic samples that don't run very well and implement Material elements in an uncanny valley kind of way compared to the existing web & mobiles implementations.

Not to mention that Android with Java/Kotlin has a truckload of tooling that Dart would have to replace.
Good wifi deployment shouldn't lose packets ever. 802.11g (54MBit) easily reaches 20Mbit so your deployment had to be utterly terrible for 10Mbit Ethernet to outperform it.

Don't forget that Wifi needs to be properly positioned to work quickly.
Regardless of whether it is an ad or not: You missed a huge chance by submitting to HN before having the app ready. I find the idea of only a few categories appealing, but if I wanted to do this right now I would probably go look for an app that is available right now. I want to test your app for a week or so, give feedback and move on if it doesn't work. Not too keen on signing up on a mailinglist for an app that will "someday" be ready, unless I'm very excited about it or the app is the first one to solve a specific problem. Attention spans are short!
please always try to read source code when you are using 3rd party libraries on your projects.
The author who cyber-stalked me
Pretty terrible they are using .NET's System.Collections instead of System.Collections.Generic.

You only ever use System.Collections if you don't want to use generics which is basically never these days. What on earth are they thinking? Or is this yet another shitty limitation of Unity and it's butchered ancient version of Mono?
Did you document your process? I'd love to read about it
Hack your productivity with new tool. Goals, reinvented
I'd like to pick your brain in real-time, but, in a nutshell, how far do you think Go game ecosystem is from something like Corona, LibGDX, Haxe? Have SDL, OpenGL wrappers stabilized, are there native ports? Any frameworks that might be considered close to production-ready?
Usability Isn’t Just for Users
the fact is that there is this huge metal machine, driven by even greater systems and processes of our economies, and that mighty machine stops for one girl

I don't see it as that big a deal at all. A single train in the middle of nowhere stops for 20 seconds. This is cute, nothing more.
The Dart & Go teams have projects to target Android but AFAIK these are independent projects with no relation with the Android team.

Dalvik -> it is already replaced by ART, but it is still a VM (for ART the bytecode is compiled AOT though).

AFAIK, there is no public plan to replace java, neither are there any public commit on AOSP indicating a move in that direction.

Many Android devs are following Kotlin very closely (it is a boon for Android app development) but again there is no known plan from the Android frameworks team to switch to it.
Sorry to side-track, but the percentage of people who abstain from sex until marriage or death is far higher than 0.001%, so the comparison isn't really fair.
I am in some ways the same, but the other way around. I like Python-like syntax more than C-like syntax. But not to the same extreme as you, I wouldn't mind using a language with a C-like syntax.

What are your reasons for disliking Python-like syntax?
Here's an interesting attack: Suppose there are three non-overlapping channels and 70 APs, most/all of which try to pick the least congested channel. Can you persuade 67 of the 70 APs that a particular channel is very congested and best avoided, while leaving that channel uncongested and usable for the few remaining APs? Can you do so without client cooperation from the three favoured APs?
> Isn't this the case in most countries?

I don't think so. Personally, I only heard about it in Japan, because this particular method of suicide is so endemic there.

About US, on the other hand, I read a different story. Gun-inflicted suicides are more common there, and there are reports that often, police officers purposefully misreport those as "gun-related accidents", so that the family can still get life insurance of the deceased person.
Fifty Islands I Have Not Visited
Have you any code shared on GitHub so I may see some real life Nim?
When using LÖVE you have to write a lot of stuff in pure Lua because LÖVE is a framework and not an engine. So, for instance, if you wanna do AI you have to write everything about it yourself (without calling any of LÖVE's functions because generally they won't help you with this task), and most people will do it in Lua only.
This is exactly what I was thinking. As much as these RFIDs seem like a privacy issue, a license plate is already there and in many ways a more accessible way to track a vehicle.
Aston Villa vs. Wycombe Wanderers Live S.t.r.e.a.m.i.n.g
The only case I think it's okay to use comments is for browser-specific hacks or a set of rules that is hard to understand. But I would avoid these cases if I could!
The two other responses already described what intrusive containers are. Have a look at https://troydhanson.github.io/uthash/ to see an implementation of them that I personally like and use in my C projects. It's really simple to have a struct that is indexed by multiple keys by basically just adding two UT_hash_handle values to your struct and then using the uthash functions. On top of that, it's a really nice implementation that is completely self-contained in a single C header file.
https://www.tirerack.com/tires/tiretech/techpage.jsp?techid=...
See the many comments here that enumerate economical reasons for why not closing this station is a waste. They are totally right. And that's why I think this is more than just cute :).
It would be fantastic if Swift was adopted as the language for Android.

It's a very well-designed language (with non-nullable types and immutability!). It's now open-source, and development model is even more open than Android's throw-over-the-wall.

Swift's type inference and ARC makes it feel very script-like, but it supports AOT compilation and tighter control over memory usage.

While Cocoa won't be available on Android, having a single language that's usable on iOS, Android and server-side would be great for reusing as much as possible.
Little more than 90% of money lost. Still beats some of my stock market investments.
Yes we pay, but consumers without cards pay the exact same price. Merchants seem loath to charging a credit card fee. I've seen a few gas stations offer a modest cash discount, and a few places like Costco won't take most credit cards. As long as consumers don't see the price directly, they have no cause to care. If merchants charged 5 cents for debit but 2 percent for credit, that would wipe out my benefit for "rewards" and my use of credit would be eliminated immediately.
Job offer in Startup WITHOUT expensive office, hammocks and a free lunch
The tracking potential is very low for tire RFID tags because every tire as well as every car has some sort of visual identification. However, the main advantage I see is that you can very easily find out who dumps used tires in a river or in the woods.
Is there a mailing list for discussions of currently-proposed RFCs? I couldn't find it on ietf's website.

e: I may have found it: https://www.rfc-editor.org/mailman/listinfo/rfc-interest
Great resource! Thank you.
New command for Philae
Obama Shifts Online Strategy on ISIS
> The fifth pod option is restricted to Qantas’ Rolls-Royce-powered 747s

Why the restriction to RR-powered 747s?
James Veitch: This is what happens when you reply to spam email
Flyttstädning I Stockholm – Städhjälp Från Lolita Städ
The next wave of that regulation should come into effect soon - the banks tried some loopholes and merchants like Jetstar claimed they needed to levy huge surcharges so another reform is required:

"the Board is proposing to change the Bank's surcharging standard with the aim of ensuring that customers cannot be surcharged any more than the cost of accepting cards."

"It is proposed that no credit card interchange fee will be able to exceed 0.80 per cent and no debit interchange fee will be able to exceed 15 cents if levied as a fixed amount or 0.20 per cent if levied as a percentage amount."

http://www.rba.gov.au/media-releases/2015/mr-15-24.html
> nor the take-off engine-failure margin to ferry a spare.

What does this mean?
Easeus Todo Backup Advanced Server 9 Crack Full Download
Experts caught by surprise by five Iberian-lynx cubs
Home Automation Using Python, Flask and Celery Deployed via Resin.io
Turris Omnia: hi-performance and open-source router
Without knowing anything about the technical difficulties, I would argue that Diaspora as a brand is already dead -- associating with it is basically a guarantee of no users.
> if this gains critical mass before it's production-ready

Yeah, that would be bad. Still, I think that with the warnings in place as they are, someone is going to notice and fix it way before that happens.

> my mom would never read the README.md despite the fact that it explicitly says it's not production ready

No, but anyone deploying it would. Your mom is not going to deploy this on her servers, is she?
Yeah, people use ISIS but intentionally ignore Rojava — the secular feminist region in Syria which has been the most effective force beating ISIS. (http://www.nytimes.com/2015/11/29/magazine/a-dream-of-utopia...)

It's all politics. Many don't want people to learn from each other and improve.
It also has a lot of overlap with the concept of "tacit knowledge": https://en.wikipedia.org/wiki/Tacit_knowledge

The programmer is unable to completely and unambiguously articulate the "design" in source code and documentation. Yes, the source code can be improved with with longer names of variables and functions in addition to liberal code comments. And documentation can be expanded to include chapters on "architectural overview" and "technical motivations" to help fill the gaps but it will inevitably be incomplete.
> the worst part about lotteries is the mental effort required to hang on to and track a ticket

I usually forget about the ticket soon after I buy it. I had my fun dreaming and I don't really need to wait for the draw to absorb jolt of disappointment. I know I haven't won without checking.