skysight-inc/HackerNews huggingface dataset:
What's the issue with Dart? It's super easy to pickup. IMHO, it's in the same category as Kotlin/Swift (soon it's getting features like non-nullable types and extension functions).
Huh. your experience is really different from mine. To me, the fact that we survived seems like a huge accomplishment; learning about the cold war and how we did not all die violated everything else I learned in history (and, for that matter, in everything I learned about human nature from high school.)

I remember the first political news, perhaps, that I really remember mattering (and understanding that it mattered) was the fall of the Berlin wall. I mean, I was like nine, so I didn't fully understand why it mattered, but I understood that it did matter.

But, I've always been into history, and I read a lot about it later.

Whenever I read about the period I'm overcome with just how quickly humanity developed restraint.

If we had any war in the second half of the 20th century that was at all like either of the major wars in the first half of the 20th century, humanity would be no more. If we had leaders of major powers in the second half of the 20th century who were as brutal and stupid as the leaders of the first half of the 20th century, we would not exist.

In just a few years, we went from expending all of our power, pouring every last ounce of effort and ingenuity into killing the enemy to the firing of MacAurther.

It's amazing, and really life-afferming in a lot of ways. Whatever you think of human nature, the fact that when faced with the actual choice, our leaders hesitated is huge. They resisted. rationality won out, and we continue to exist in this increasingly unlikely world.
Ask HN: Please help me, I'm a bad developer
I got my degree in computer science about 1.5 years ago. I had and have problems finding and maintaining a job since then. I'm a frontend developer, and I think I have the necessary knowledge about web in general and practice in JS to be a junior developer at least. However it seems like I have two problems:

- I'm not good at understanding existing codebases. It is not that I can't fix a single bug or implement a new feature, it is just I'm slow. How can I improve this? I'm looking for something like a job simulation at home, like list of tasks to do in an existing codebase, with explanation or even guidance. I don't want to start another stupid practice project at home while I stress myself out about when will I find a job again.

- I have problems at paying attention in meetings. I struggled through the whole university too. I understood and learned almost everything at home for 5 years. Sometimes I even got asleep during important classes. I'm not talking about 1.5 hour long scrum groomings or reviews, sometimes I can't even pay attention during a 15 minute long standup in the morning. At my lost job they found it as a serious problem. Where to start?

Thank you!
I went to Hattie B's around 6 pm on a Wednesday last month and only waited about 15 minutes.
“The Thinking Machine” (1961) – MIT Centennial Film
I'm afraid I must strongly disagree with your comment, or at least your conclusion.

The existence of pain itself is predicated on its accurate coupling to injury, since the purpose of pain is inhibitory: this hurts, so stop doing it, [because tissue is injured], and it must not continue to be injured.

There are of course some counterexamples where this line of thinking fails: pain localized to previously amputated limbs comes to mind.

But overall I can think of very few instances where this is true. The magnitude of pain may or may not be proportional; the location may or may not be correct (as in referred pain); but in the vast majority of cases that can I bring to mind, pain very much does indicate tissue damage.

(And the biopsychosocial model of pain doesn't change that! The brain, after all, is tissue.)
Yeah, I have about the same opinion of the medical profession. Except for fixing mechanical problems (e.g., fractures) they seem pretty much worthless. Prescriptions that do fck all to fix anything and inconclusive diagnoses after you waited WAY past your appointment time leave a pretty sour taste. If a remodeling contractor operated the way most doctors do, they’d be skewered on the 6 o’clock news.
> I just thought caffeine was my drug of choice. Everyone's addicted to something, right?

That's probably sugar, not caffeine. Sugar is a much stronger drug than caffeine. Try coffee, not red bull.
Is it still maintained? Believe FreePascal and Lazarus IDE are.
Oh, I'm not saying car companies are perfect and I'm well aware that the way the sausage gets made is nowhere as rigorous as we'd like (just take the Toyota unintended acceleration debacle!) I'm just saying I wouldn't add on top of that something that's essentially a phone app.

If nothing else, injecting stuff into your car's critical data bus seems like a bad idea. What if that less-than-carefully-written firmware you're talking about gets tripped up by a malformed CAN packet (which it would otherwise never have encountered) and fails in some fatal way?
There isn't any way to do this in ISO C. Libraries like libffcall and libffi exist for dynamically building a C argument list and calling it.

If we stick to standard C, all calls are statically determined, so your only option is to switch among different call expressions, like:

switch (nargs) {
case 0: return f();
case 1: return f(a[0]);
case 2: return f(a[0], a[1]);
...
}

Here, if the f pointer is under-declared, it saves you some casting.

You can use a union:

struct fun {
int nargs;
union {
int (*ptr0)(void);
int (*ptr1)(valtype);
int (*ptr2)(valtype, valtype);
...
} fn;
}

Then:

switch (f->nargs) {
case 0: return f->fn.ptr0();
case 1: return f->fn.ptr1(arg[0]);
...
}

Now there is a modicum of type checking. When you create the "struct fun" object, you may be able to take the address of a function that is compatible with one of the ptr's, and assing it to the correct union member without having to use a cast. If you record the number of arguments correctly, it won't be misused.
No health issues here, but have been sleeping on the floor since my teens and now whenever I sleep on a bed or anything similarly compliant I wake up with back pains.

The only time it's an issue is when it comes to dating, since practically noone here (CA) wants to sleep on the floor and I have no interest in sleeping on someone's bed.

The other benefit to using the floor is it preserves one's ability to get up and down from the floor into old age. The Japanese got this right, and it's actually had me considering learning Japanese and relocating there multiple times. I presume the aforementioned dating issues would be far less of a problem there.
'An Introduction to General Systems Thinking' [1] by the late, great Gerald Weinberg?

[1] https://leanpub.com/generalsystemsthinking

Edit: no relation (I believe?) to Gabriel Weinberg of Duck Duck Go who is also being mentioned in this discussion.
but do you shower and make sure you enjoy life, right?

I ask this out of curiosity and to try to understand your motives. If you just happen to like to be in the open for a while, I totally understand.
Ask HN: Python was an unfair advantage for basic business tasks – what is now?
On practical business python (pbpython.com) I read this nugget

Nowadays there are more tools but in the Windows 95 days, it was very difficult to automate anything. As my needs grew, I started searching for solutions and discovered that python worked really well on Windows. I promptly installed it on my systems and started writing scripts to help out with some of the mundane tasks I could not get done with the standard windows tools.

which reminded me of similar times in late nineties when i could automate almost a whole small business and people would wonder were the cape was kept.

But the superpowers have been more accessible now - but with the spread of cloud and big data and AI I would be amazed if there are not other secret superpowers - am I missing any?
One Line of Code Tripled Allwinner A20 SATA Write Performance
Beringer's Lying Stones
https://en.wikipedia.org/wiki/Beringer%27s_Lying_Stones
> Writing a program is like a very detailed story that has to hang together. There can't be any loose ends in the plot or surprising twists that make no logical sense.

Those lose ends are called bugs and they often appear in the code. Coding a collaborative task in most companies, even if you've obvious holes in your plot, someone will see and fix them if they are not obvious to you.
but there still may be code to call home and what not

where?
I think caffeine was a contributing factor, but not the sole cause. I imagine the niacin wasn't helping either. I'm totally off energy drinks now, but still strung out on caffeine pills. I intend to introduce some of the other ingredients of energy drinks back into my drug stack eventually, but I'm out of the niacin game (mostly due to worries about liver damage). FWIW, with better lifting habits and some other dietary changes I haven't shat blood in years despite only cutting the energy drinks out fairly recently.
What's called "debate" at high schools and universities fell to vitanda decades ago.
How does it cause brain damage?
I have a couple hundred tabs open across a few machines... It's a horrible cycle and every now and then Firefox feels sorry for me and corrupts my session so that I lose it all.

Yes, all of those things are classic ADHD... But they barely even scratch the surface. That's just the "haha" relatable stuff. Time management issues are real.

ADHD is, in essence, making a list of all the things you need to get done, placing the list in all areas you frequent as visible as possible, and then wondering how 16 hours went by and you're still on item #1 but now you know a whole lot about lizards that you didn't before.

ADHD is also the reason you can get work done for 16 hours straight without distractions.

The overdiagnosing of ADHD is only making things worse because it prevents some people from understanding when they need to make real lifestyle adjustments... both people who hide behind the diagnosis and people who refuse to take it seriously.

In today's world of hyper-distraction this is becoming all the more pertinent. ADHD can affect people of all walks of life and level of intellect, and it can be paralyzing as an adult with the amount of sensory information present in today's society. And we still aren't even sure what environmental factors if any can cause ADHD... for all we know modern society is contributing.
Designing a Dark Theme for OLED iPhones
All of this seems to be merging toward how things work in Paris (for example).

Your apartment is so small that you do everything outside and you mostly replenish things almost daily.
No, if you actually read the label you'll notice it's basically a religious tract preaching a weird quasi-spirituality nonsense. I do like that in those days you have to actually create a useful product so people would listen to you, instead of now where you just need a Twitter account

> Emanuel wasn’t a businessman (or a doctor, for that matter). He was an activist who, in the wake of his parents’ deaths in the Holocaust, began using his soap’s label as a, well, soapbox for proselytizing his “All-One!” thoughts and ideas. His philosophy, which he eventually named the “Moral ABC,” comprised a grab bag of religion, spirituality, environmentalism, and self-help, and its peculiarity was matched only by its ambition: peace and harmony on “Spaceship Earth.”
I have a condition that makes me prone to getting really badly shocked from static electricity. This stopped while I was homeless for several years.

Then I tripped across research about how direct contact with the ground may be beneficial to your health due to grounding you and discharging excess electricity. Suddenly, it made sense that I was no longer getting horribly shocked on a regular basis.

I hate camping. I've only ever done it while homeless.

But if my tendency to get shocked ever returns, I may need to make an effort to camp occasionally so I can sleep outside with little between me and the ground.
These items pretty accurately described me before I started taking meds for ADHD, about 15 years ago. Over that time, I've taken a moderate dose of either Concerta (Ritalin extended release) or Adderall XR most days I work. I very rarely take the meds on weekends or holidays, and occasionally don't take them on work days. I've been doing tech work since the early 1990s, so a big chunk of my career was while I was untreated.

For me, the meds have a simple to describe effect: the amount of mental energy I use to concentrate goes down greatly when the meds are in my system.

I did some of my most innovative, creative work early in my career, before the meds. This was due to a number of factors, and I've done some pretty innovative stuff since, but not on that same level. (A big part was being in the right place at the right time.)

But there was cost: even though I was in my 20s, coming home after concentrating for 8 or 9 hours, even after a full night's sleep, I would need to take a nap before finishing my evening. Many hours of concentration just drained me, because it took so much energy.

The meds have changed little, for me, except allowing that focus to cost less.
The construct would be a pointless throwback to poorer type safety. Every C function call is statically typed and so is a function definition. The declaration of what is being called may tell you nothing about the argument list, but the call expression which uses that identifier will assume a static type for it, based on how it is called. The call will be compiled assuming it has a certain type, which may or may not match what is being called. There is no run time-check; if it's wrong, it's undefined behavior.
Soccer Teams Using IBM Watson AI to Help Gain an Edge
Code is the answers to the questions you've asked translated in to something a machine understands. If you're not asking the right questions your code is essentially worthless because your product won't do what the user actually wants. Hence software is about asking questions.
On a wider scale, this is a step in the right direction for getting away from the lock-in of these kinds of platforms. Offering E2E but still in proprietary formats.
You are not required to apply for student loan. You can earn a tutition waiver and/or scholarship if you are deemed successful (OK, not in all cases); or you can pay the expenses by yourself if you are rich enough. All student loan does is enabling lower-middle income not-so-successful people to climb the income ladder more easily and/or faster.
Maybe they just have a bartender that likes messing with people.
Their campaign made use of friend's data as well (as I understand it).
Just added it to my Kindle
AskHN: Need a Wordpress Developer
Hi fellas,

My website is up & ready and needs a major revamp. Just wanna make it more aesthetically appealing and improve the look and feel. It’s an educational website and once admissions process begin in about a month from now, people would be wanting to download admission forms which would be in PDF format from the website. I have brought up the site but these days find it hard to take out the time to do the work, ergo, outsourcing.

A seasoned Wordpress Developer will take a couple of hours to finish this work.

Spoke with many Wordpress Developers around and found their work to be really lame. Now turning to HN hoping to find a decent one, as a last resort.

Don’t need anything else. Please don’t try to sell me SEO and whatever.

If anywhere in the text I appear condescending, please understand it’s my frustration at not being able to find a genuine Wordpress Developer.

RSVP
I had to go to a psychiatrists who specialised in ADHD to get a diagnosis.

GPs would tell me to stop being lazy when I would asked for a referral to one, so I paid top price and went direct.

I found this doctor _did_ get it, it was worth it, so now navigating treatment. It was a huge relief as it's like someone has finally listened to what I have been saying for over a decade.
is there a way to zap plastic waste in minutes ?
This is irrelevant; this is the function definition, which means the compiler knows this function takes zero arguments.

It works because with the way the C ABI works on all platforms I'm aware of, extra arguments passed to the function can be completely ignored by the function with no ill effects, so the fact that _start actually invokes main with argc and argv can be ignored by main.

Which is to say, you could also write this as

int main(void) { return 0; }

and that would work equally as well.
You can DDG specifications of your plane by model number and nay, they have to be unique per revision.
Friend portability is the must-have Facebook regulation
Olympus: 100 Years of Groundbreaking Milestones
Sorry, but GP's post is absolutely correct.

Japanese surrender was not prompted by bombings of 6th and 9th August -- they had endured already much worse bombings of their cities during that summer, and were not particularly scared of atomic weapons.

However, Japan was very scared of USSR, who up until then was neutral against them.
All that changed rapidly and hugely, when USSR declared war on Japan, and attacked Manchuria on 12:01am 9/August.

Check the timelines -- the argument is solid and much more compelling than "Japan surrended because nuclear bombs".

https://foreignpolicy.com/2013/05/30/the-bomb-didnt-beat-jap...
I gave out their bars of soap to people all the time, even in business settings. I'm a disciple for sure.
I think the exciting part of the research is that ketone salts aren’t really a drug, they’re a dietary supplement to reproduce the metabolic effects of the ketogenic diet.
It's more of the Portuguese Empire collapsed otherwise they'd still be around till today.
FYI, the Arabs in question here were the Omani Sultanate who operated a gigantic slave trade on the East African coast.
Well, other atoms?

Depending where you start from and how do it. Here is an example:
http://www.ipodphysics.com/resources/trans90.jpg
Code Reviews at Microsoft
One of the most important inventions ever was invented due to laziness. Amazing!
I can't tell if you're being entirely serious here. But if you are, then it strikes me as a fairly damning indictment of the state of the web that cooperating on editing a list of links requires (or is thought to require) all the unwieldy arcana of git.

No so long ago, a resource like this would be a simple text file that a few interested people would publish. If someone wanted to change it, they'd email one of the maintainers. If someone didn't want to bother maintaining it, someone else would publish their copy instead.

But now, in 2019, publishing a text file of links requires a notoriously fickle and complex source code control system, a system designed to enable asynchronous kernel development, and a centrally managed social network site. And people imagine that this is progress.
"We" in this case, means US society. You can look at the laws, and the debates, and the campaigns of different political candidates, and the debates over bankruptcy law reforms, and the jokes on late night comedy shows, and you can see fairly clearly the consensus that society has settled on. We have clearly decided that higher education should be open to almost everyone, and that it should be affordable, although we're deeply conflicted on what that means.

> I'm guessing the 'we' breaks down the moment someone defaults on their loan hey?

I mean, we have a major political candidate campaigning in part on forgiving all student loans and making tuition free at state schools, so...apparently not? I mean, she's not doing that well in polling so far, but it's clearly a topic on the table for discussion.

> a bonanza for greedy, rapacious companies who can lump 20 year olds - kids basically - just starting their working lives with a lifetime of indenture that they can never break free from

That's not how it works in the US, as has been discussed a fair bit in this thread. Get into an income based repayment program and you can pay 10% of your discretionary income a year for 20 years, and then the balance will be forgiven.

> It is the ultimate business model! (Of which I'm guessing you're a part).

I don't even live in the US, have never had a student loan, and have never worked for an educational institution or a company involved in making student loans, so perhaps you should try making better guesses. :)
Here is the repo: https://github.com/lboasso/oberon0

Yes, you can write small Oberon-0 programs and compile them with an Oberon-07 compiler, but it is simpler to just use the Oberon-0 compiler from the repo above.
What if a bug in this software kills an innocent pedestrian?
A lot of people running companies are dislexic. Churchill ran the UKs fight against the Germans as an alcoholic.

Lots of room for weirdos to do great things in this world.
Sleeping outdoors someplace where the climate makes it perfectly comfortable and the environment perfectly safe is a luxury, it's the ideal IMHO.

Sleeping indoors is a compromise made because it's too unsafe and/or uncomfortable (or socially unacceptable) to do it without shelter.

Think about it. People generally love the seasons when they can sleep comfortably indoors with the windows open all night; fresh air, no blankets or at most a clean linen sheet.

Well, given the right environment and season, doing it outside is a notch better than indoors with the windows open.

My property is in the rural Mojave desert. There are no Mosquitoes and rarely > 30% humidity, and much of the year the night climate is so perfect you can sleep outside with no blankets or anything, even clothing optional. I prefer a mesh tent to keep scorpions and snakes out when on the ground, optional on the deck. All this with a sky so clear and free of light pollution I can watch the Milky Way until passing out.

With regards to showering and enjoying life... I don't think those are really relevant to my comment and don't know how to answer them other than the obvious "yes, I bathe when necessary. Yes, I enjoy life."
Practical CSRF protection via SameSite cookies (an explainer)
I'm curious then, what did you guess it referred to?
Thanks for your response. Certainly gave me a different perspective. More so because I am not a gamer. Not sure why but I never caught the gaming bug but most people I went to college with dabbled in games.
Until it kills an innocent pedestrian. What are you gonna do then?
>This is like saying that that ethics is equivalent to a category of personal biases, that they are therefore arbitrary and completely personal, and that therefore nobody has any right to use their judgment about the ethical content of the actions of other people.

That wasn’t my point at all. There’s a general trend on HN to insult tech companies as being immoral, unethical, evil, etc. just because you hide behind the word ethics doesn’t mean your personal bias doesn’t exist. You’re arguing a strawman and taking this off topic, but nice try ;)

My question still stands - what companies are more ethical than FB? You can point to any other industry, and more than likely we could discover examples of that company performing activities in its personal interests or interests of its shareholders that aren’t moral but still legal.

>...in other ethics related news, a UN report has recently declared that 1 million species are in danger of extinction. Will we say that concern for this also is a relative, personal bias?

Your example doesn’t make sense in this context at all. 1 million species being in danger is a big deal assuming there’s scientific evidence. For the op to state that FB is an unethical company and therefore someone not take an opportunity to work for them is completely different and an apples and orange comparison at best. What makes them unethical and is that a bar we apply consistently to other employers or just to the companies we don’t like?