skysight-inc/HackerNews huggingface dataset:
I'm fascinated that the royal palace has a team of archaeologists on staff. That some top notch genealogy from the royal family.
Crystal seems to be targeted at a domain where ruby is not fast enough. That includes domains where GC is a problem.

A tracing GC means that you either have to deal with potentially long GC pauses or you need a lot of extra free memory at all times to give the GC time to catch up before running out of memory [1].

Go says it can achieve 10ms max pause time using 20% of your CPU cores provided you give it 100% extra memory. In other words, memory utilisation must be kept below 50%.

Cloud/VPS prices scale roughly linearily with memory usage. So using a tracing GC doubles your hardeware costs. Whether or not that is cheap depends entirely on what share of your costs is hardware cost and how much productivity gain you expect from using a tracing GC.

I would be very interested in learning how much CPU and memory overhead Swift's reference counting has, because in terms of productivity Swift is certainly competitive compared to languages using a tracing GC.

[1] Azul can do pauseless, but I don't know exactly what tradeoffs their approach makes. Their price is too high for me to even care.
Ok, you had some interesting points. But then I had to go look up Charles Murray...

The same Charles Murray who co-authored https://en.wikipedia.org/wiki/The_Bell_Curve ?

> The Bell Curve argues that:

> Intelligence exists and is accurately measurable across racial, language, and national boundaries.

> Intelligence is one of, if not the most, important factors correlated to economic, social, and overall success in the United States, and its importance is increasing.

> Intelligence is largely (40% to 80%) heritable.

> No one has so far been able to manipulate IQ to a significant degree through changes in environmental factors—except for child adoption—and in the light of these failures, future successful manipulations are unlikely.

> The United States has been in denial of these facts. A better public understanding of the nature of intelligence and its social correlates is necessary to guide future policy decisions.

And who then went on to argue in Human Accomplishment that the most important humans were European males based on a biased application of Pagerank on modern encyclopedias written in English?

Not sure how he fits into this.
My girlfriend showed me this: https://www.youtube.com/watch?v=VCIo8xGTUX0
a little pen spring to reinforce the cable need the connecter. I do it too, not sure if it's useful though.
The someone in question was another developer on that team, who thought they were working against the dev db server.
You must worry about allocations anytime you write CPU-bound software which wants to maximise the output per clock cycle.

Granted, most software isn't like that, but it's certainly not only games and embedded software on tiny systems.
> I will bet that in 5-10 years, China will start manufacturing its own airplanes.

China has been manufacturing aircraft since the 1930s, and its own designs since the 1950s.

Many of its aircraft of the 20th Century were reverse-engineered derivatives of Soviet types, but there were also indigenous designs which sold fairly well globally such as the Harbin Y-12 light turbrprop.

Their indigenous first jet-powered airliner, the Shaanxi Y-10, flew in 1980.

The current C919 airliner project uses the same LEAP engines as the A230Neo and 737Max:

http://english.comac.cc/Galleries/Photo/201512/25/W020151225...
Those kinds of systems won't get compilers for something other than C/C++ or maybe Ada for a long time. Usually you're stuck with a compiler from the chip vendor that kinda-sorta supports C.
for any domain using ruby?

you mean like webservers, where GC has been the #1 cause of operational problems for essentially forever?
Top Fintech Consultant, Simplifying the FINTECH Trends
I was in the same boat 1 year back. I had very diverse work experience across my 10 yr career, none very deep, none very relevant to my desired target industry (ecommerce)- I had worked majorly in manufacturing and finance. In my 30's, family and toddler to support, bootstrapped hardware startup failed after 2 yrs.

For the resume I focused on the journey's small wins, just bulleted. I had no revenue numbers to share, so just highlighted what was achieved in what time.

It was very hard, but what I figured quickly was that the resume mattered way less than the people i pushed it to.

What worked:

1. Sent linkedIn connects to a crazy number of startup founders (50-100 daily), apart from the usual HR connects. side note : i bought linkedIn premium subscription at about $40 a month to cover my search limits.

2. Whoever connected back (10-15%), I shot them a crisp email telling them I'd like to meet for startup advice and/or opportunities with a one liner.

3. Whoever responded with 'No', I politely asked if they could recommend someone they knew who'd like to connect.

4. Whoever responded with maybe/Yes (5-10% of the connects), immediately tried to set up a time within the next 2/3 days. Could be a call/meeting/skype/anything.

Note: the eMail always

a) had a touch of personalisation.

b) was no more than 3 lines

c) included my product snapshot as an attachment

d) ofc, had resume attached and contacts+linked in profile link included in signature.

Met great people along the way, will surely help in future. And met one of the best founders in my country - he made me join his company Nearbuy (Groupon India). The hunt took me 6 months, partly because I had 2 hard filters a) not going to wear a suit to office..so consulting/finance was out b) no politics..so most corporate jobs were out.

Takeaways: Seek help like crazy. Your passion and hardwork at your startup is your resume, nothing else will matter.
Only if you conflate "NoSQL" with "pretend everything is Redis".

That's why the term "NoSQL" (or even worse: "non-relational") is often pretty much useless: many people think it refers to one category of databases like SQL/relational does.
And yesterday they said "we are sorry" https://redd.it/4w0c10
Perhaps the phone could turn itself on again intermittently?

Not being able to remove the battery could be an advantage in this case :)
Apple requires you to unlock a phone to see a 2-factor authorization PIN. It is not sent via SMS.
Why stop there? It could broadcast some (authenticated) "I'm a stolen iPhone" message to other iPhones nearby. Maybe a Bluetooth beacon that any iPhone with Bluetooth enabled could pick up and report to Apple servers. I'm not sure how technically feasible this is but at least in high-density urban areas this might work.
> making sure your site can handle X amount of load by exposing it to X amount of load

That's called "testing". Most companies have dedicated people who do it every day. Testing and training is fundamentally different.
You could also tell the very opposite story. In the last around 20 years, the poor and middle class in china greatly benefited from the economic growth, while the poor and middle class in the west didn't benefit at all or even had a wage cut if you look at inflation adjusted wages. China is hardly a developing nation anymore.
GQ Releases Hilariously Sweary Audio of Craig Wright Interview
This is the response to the reply above; I'm unable to directly respond to a comment that deep.

I thought similar things about Charles Murray, and I don't think that the Human Accomplishment book is without flaws -- it has many. Nonetheless, the whole book is worth reading. Honestly, I think it faces some serious facts on the distribution of impact on civilization.

The fact that some cultures, like classical Athens and Elizabethan and Enlightenment England, have had an outsized impact on modern science and civilization, that we have a massive debt to particular thinkers from Europe of the past few centuries, is a fact I think a serious study of great scientists needs to come to terms with. That being said, past contribution is not a good indicator of genetic, racial superiority! We should do well to ask what made those contributions possible, from nurturance, to growth, to self belief, and belief in the idea of progress.
Thanks for your response.
While Loh's approach is commendable that is not necessarily the approach the kids follow to be selected. IMO is kind of artificial in its subject matter so it is not true that the more math you know the higher your odds. These kids have trained very hard on their own (you have to be obsessive to get to the competitive level), just to be selected. My guess is that Loh's approach kind of loosen them up instead to giving them more of the same of what they already did on their own and this seems to have worked wonders for the highest performing kids.
Because allocating something on the stack means adding a something to a pointer and puts the object somewhere that is likely to be in the cache during the function and allocating something on the heap usually takes a tree traversal and puts the object far away from the other stuff you might be using.

Also, using numbers from a benchmark game is not representative of the performance of real world applications. If you look at the code, you'll find that it's written in a style that avoids heap objects and GC wherever possible. Forcing heap allocation is what makes Java slightly slower than C in many cases.
A Health-Monitoring Sticker Powered by Your Cell Phone
Very romantic, but I bet the real reason is not this.
> Why is the application audio buffer necessary?

It's more about the APIs used. With something like OSS, you just write samples to a (virtualized to many devices) /dev/dsp handle. So you have to take your background music, and each sound effect channel, and mix the values together.

But if you're writing a PC game on Windows, you'd open separate IXAudio2SourceVoice handles for each, and I'm presuming that XAudio2 will handle all the mixing and when to optimally push samples to the hardware for you. You're working at a higher level here when you can provide the hardware/OS audio API with more information.

But an emulator just gets a solid stream of pre-mixed samples. Sometimes the game software have their own mixers (like Tales of Phantasia on the SNES), and these tend to fall back on game console hardware mixers, that then pass a rendered stream of audio out to the speakers (hence, indirection.)

With audio, how you handle it depends on the backend API. With DirectSound and WASAPI exclusive, it acts like a ring buffer in RAM that loops around and you poll the cursor (sample) position to know when and where to write. With XAudio2 and WASAPI shared, you build up tiny blocks of samples and throw them at the sound API. In both cases, even at 44KHz, it's not a smart idea to do this for every single sample output. So you're going to have a software queue that accumulates these samples. And the size of these queues aren't just about minimizing calls to the sound API, but it's also about the API's own precision and at what resolution it can report when a pushed buffer is consumed or where the cursor is at. This varies wildly between PCs. So the best you can really do is offer the user a latency selection and let them see how low they can set the value without audio distortion from misses.

A final complexity with emulation is that we can still have multiple audio streams. When you plug a Super Game Boy cart into an SNES, or a CD attachment onto a Genesis; the emulation of these usually results in two streams.

As mentioned in the article, generally you can merge two streams in software in near-realtime. Presuming both sound sources run at the same frequency, you only need one sample queued from both sources before you can mix them and send them to your sound API output buffer. Though keep in mind we are making a parallel process serial, and the context switches between components is the biggest source of slowdown in all of emulation, so sometimes you'll have quite a few samples from one component queuing up before we get any from another. It gets a bit fancier when they vary frequencies (and they do in emulation) ... and then you get to pull in anti-aliasing, resampling audio filters (I use butterworth biquad type-2 IIR with cubic resampling in higan), so the queues have to get a little tiny bit larger.

On anti-aliasing, that's yet more fun ... a lot of these old game consoles produced sound in the megahertz range, so you have to strip out the frequencies above the Nyquist limit to prevent aliasing (annoying buzzing) when you resample it to rates PCs can handle (in the kilohertz range.)
It seems that they implemented an OpenACC 2.0 compatible complier and named it Sunway OpenACC.
If the OS polls at 1kHz, then when the process reads the state from the OS, the OS will give the process data that is at most 1ms old. If the OS polls at 125Hz, the data that the process reads from the OS can be up to 8ms old.
Maybe competitors are providing a better product, so customers leave? It's hard to make a new version of a product that does less. Features were presumably mostly added for a reason, and customers probably use them. Removing them is a hard sell.
Just as a point of interest, I believe there are special forms of garbage collector that are suitable for hard real time systems.

The principle is to regularly use a bounded amount of time for collecting - in line with the latency requirements for the whole system. I think the relevant term is 'tick tock', as in tick - compute, tock - collect.
If you are on a server do you need 10ms max pause time? For most applications running go on a remote machine, 25ms should be in the realm of acceptable.
The nigger brain cannot understand what a random number is.

God says...
mailbox's locker's nodal roué mission's lymphoma ophthalmology's boughs academic Mamet abraded toughest wit Montenegrin lipreading ninny scrutinize tyrant shanties this plunderers vantages entice sample's Vazquez's Kaifeng resulting Balder's canyon em unbelievably gesturing
How does one achieve the official status of a "coup official"?
NCLB set minimum performance requirements for basic skills. It tied school's funding directly to the performance of its lowest achieving students. In my personal experience, teachers regularly stopped their regular curriculum and focused exclusively on test prep in the weeks leading up to the statewide exams. Even in honors classes, where you'd expect every student to demonstrate basic reading and math proficiency, we stopped our normal studies and did test prep.

Did this have an negative impact on gifted program funding? Some educators definitely believe it did.

"In particular, NCLB does not require any programs for gifted, talented, and other high-performing students. Federal funding of gifted education decreased by a third over the law's first five years ... In other states, such as Michigan, state funding for gifted and talented programs was cut by up to 90% in the year after the Act became law."
Austrian Economics - not to mention countless practical examples - say otherwise: http://austrianeconomics.wikia.com/wiki/Monopoly
I always considered that if you believe nuclear deterrence is effective, it would be logical to disband the entire conventional military, and keep the nuclear weapons.

The advantage would be you save an enormous amount of money, and vastly reduce the size of government. Politicians will stop being tempted to invade and interfere in other countries, and grievances against your country are reduced or eliminated.

The logic of nuclear deterrence still holds, and in fact deterrence should be stronger since your opponents know you have absolutely no other choices.
Same goes for high precision resistors, capacitors etc. for hifi equipment. They don't have a special machine producing extra accurate components, they just take the produced resistors, test them, and bin them into accuracy classes. The high precision ones are those that happen to be very close to spec.
I have started startups before and now, am in a senior role in a large corporate. My gentle suggestion is that don't sweat it and just reflect what you have built in your resume.

Your work will speak for you, and discerning employers will find you.

More and more large corporates value what you have, and in cases, are willing to pay a premium for startup skills. They are also sophisticated enough to separate the company's failure from your skill.

Really, don't sweat it.

All the best.
Quickly create a new Let's Encrypt certificate
@sdogruyol

Sure, thanks. Would love to hear that.

A blog post would probably be more appropriate since it will have a wider audience and will be good for Crystal and its community.
SIM PIN codes seem to have gone out of fashion. Neither my UK SIM nor my US SIM, both bought within the last two years, had a PIN code out of the box. Of course it's possible to set one but that's buried somewhere deep in the phone's settings, so most people probably don't set one.
VPN Is heavyweight I just use a Amazon machine and open a ssh tunnel.
Pretty much how I started cracking game copy protections in the late 80's/early 90's. I already owned the games I was cracking, it just became more interesting to me how these protections were implemented and how I'd defeat them. Sometimes I think that was more fun than the game itself. I just didn't want to have to look up pages in manuals or read maroon colored paper with dark blue ink.

I didn't have the luxury of Ida Pro back then, but I did find a disassembler. Using that I'd read through the game code until I found the conditional jumps and then patched the original file with 0xE8 (JEZ?), 0xEB (JMP?), or 0xCD 0x90 (NOP?). At one time I used to be able to recognize just the Opcodes in hex, so I might have those wrong today.

When I started working at Egghead, I was granted time by my manger to crack games for our demo station, so we wouldn't have to jump through hoops on the sales floor. For various professional reasons I've had the pleasure of bypassing my company's own protections. Most recently I used Smali/Baksmali to demonstrate how our company's Android beta timebomb was pretty easy to circumvent.

Once a hacker, always a hacker. I have no doubt that this low level tinkering was why I got into computers in the first place and why they still hold my fascination.
Way to aim high!
Digital nomads data in danger – protect yourself
People want non-GC language because everyone already has GC language that their are comfortable with.

So basically C/C++ replacement is the only niche that is left to fill. It would be even better if new language could replace even GC-languages, so I can can write fast low level libraries or websites in single language, without sacrificing productivity. That would be the Holy Grail I guess.
For those under opression from the government it is not so easy to adopt the secure, but obscure solutions like GPG. The problem is that just installing GPG or setting up a secure communications hub can make you a target for further investigation.

This discussion highlights how important it is that the normal messaging applications we use on daily basis become secure and protect the messages and identities of those communicating. This is not because you or I have something to hide or protect, but because other people in other countries do. And in order to keep themselves under the radar, they need to be using the same tools as we do.
asm.js is essentially a "32 bit" compilation target, it does not (to my knowledge) support 64 bit arithmetic efficiently right now.
You're right in that respect, but it says "to advertisers". My data would be valuable as potential blackmail, or as you suggest: Not giving me a job, but for advertisers not so much.

It's my feeling that for the majority of people their browsing data will rarely translate to direct sales.
It's so irrelevant, that the US embargoed China over that.
Ask HN: Does Prezi still run their bug bounty program?
I reported a bug to them last week and I was wondering if they still check their email or anything, it doesn't look like their hall of fame had been updated in a while.
You are right about well-maintained roads, but quite incorrect about the quantity of traffic.
Depends on what king of monopolies those are. We are better off with an Apple (smartphone) and Google (search) monopoly because they are pretty good in their quality. If they slip (like blackberry or yahoo) someone will throw them out pretty quickly in a free market.

In a non-free market government will eventually help someone accumulate lot more power and money without a competition is sight. Government is the reason why Google fiber is not available in Sunnyvale.
3 Easy Healthy Weight Loss Diet and Exercise Tips for an Energetic Lifestyle
I'm inclined to agree to some extent... I think that JS can be beautiful and intuitive. However, I've seen too many instances of the following.

var bazCopy = [];
for (var i=0; i<bar.baz.length; i++) {
var orig = bar.baz[i];
bazCopy[i] = {
fizz: orig.fiz,
buzz: orig.buzz
};
}
parentCopy.baz = bazCopy;

Over map/reduce/filter, and the like... Sometimes doing code reviews on pull requests is exhausting.
How to organize working processes of a distributed team in a small business
Yeah, you are right. I forgot what the original question was. My bad.
The Erlang VM (modified) has supported over 2M concurrent connections: https://blog.whatsapp.com/196/1-million-is-so-2011?

Furthermore, assuming each request is mapped to an Erlang process, each of them get their own VM -- no stop-the-world.
Use an OTR [1] messaging system.

OTR messaging is encrypted (only intended recipients can read your messages), authenticated (you can verify intended recipients identity), deniable (anyone can forge messages after a conversation to look like you sent them), and forward-secret (if you loose your keys, previous conversations aren't compromised).

Also, it is wise to communicate as little as possible. Chatter can be detected to see who are involved. It often doesn't matter what you said, if you were involved or engaged with the wrong people, you may find yourself zip-tied in a stress position.

[1] https://otr.cypherpunks.ca/
That doesn't mean the conclusions drawn from the data are correct.
Good catch ... I didn't account for that in my article.

In emulation, an audio stream is an infinitely long queue of audio samples, for which you can only have a certain amount of them known ahead of time (and that amount is itself a source of audio latency.) You usually have one, but can sometimes have more. And they can vary in their frequencies, including being pathological (the Game Boy outputs sound at 2MHz.)

In PC gaming, you probably have some kind of looping for background music; but sound effects are definitely things you can push in the smarter audio APIs (like XAudio2) all at once and have all the data available to consume whenever the audio API->OS mixer->sound card needs the data.
International trade isn't a free market in the typical sense, and countries are the largest actors.
Im homeless and im not ill or anything, i enjoy freedom, i would rather die than have a job or a house or even a car. People assuming all hobos are mentally fucked is same as me assumimg all domestic people have a ferrari, those r just more flashy visible cases...
I don't understand why Apple has not added a passcode requirement option to turn off the phone.
But then you lose memory safety
Python has "significant white spaces", Crystal doesn't.
Analysis About the Privacy of W3C Vibration API
Dj Khaled – Instagram Stories
There may be no locking mechanism available. One example is multiple computers writing to a file on an NFS share with the nolock mount option.
There could of course be downsides to that.

1) in situations where phones are not meant to be switched on (e.g. some flights)

2) from a privacy perspective not being able to ensure your phone is actually off is not great.
Well for one, it shows that you're using Amazon a lot, so Amazon should advertise products directly to you.

Or inversely, if you use FB a lot, FB shouldn't advertise to you as much
Why tutotrials don't work for user onboarding
True, but I don't know how much that would buy us in terms of memory utilisation and CPU usage.