skysight-inc/HackerNews huggingface dataset:
How convenient that you just happened to come along and build an account right after this submission... by another brand-new account.
You're right, this was a mistake on my part. I'll correct this in the post. I have used mypy further since the post was written and it is indeed quite helpful, particularly in --strict mode.
Yep, many of my colleagues at work use Elixir in fact and they say the same. Ultimately, I started with C++ ... a long time ago (2001) ... and from day one I learned coding using an object-oriented approach.

A lot of this comes down to the fact that one has to really commit to a functional mindset and go all-in like my friends at work have. This wasn't a commitment that I was personally ready to make, especially since all the programming I do at work is in Python and OO-based, and I have limited time to code outside work :) I think that if I was coding a project full-time at work in a functional language, I'd be more inclined to use this paradigm in my own projects.

Without a doubt Elixir is a great GREAT choice and has such a mature ecosystem and tried and tested underpinning that I can understand why anyone would choose it for a project that will run in production. The guys at work have been very happy with it so far, and the language is beautiful and easy to read.
> From a search engine perspective I’ve switched to DuckDuckGo and I’m impressed with how good it has gotten.

I switched to DDG over a year ago and it works great for things that are simple lookups to Wikipedia, IMDB etc. When I have an arcane Windows bug, I end up using "G!". Also DDG isn't that great for latest News but the Image search is pretty good.

I set DDG as the default search on my non-techie wife's new PC earlier this year and she has not once complained about the search qualify.
I’m certain they’ll accept help. So maybe go test, report bugs and issues and get involved if that’s a priority for you. Triage some of those weird bug reports. Write a guide on how to properly enable the feature, what it does and what to expect if it’s enabled. Explain what’s a bug and what’s just part of the expected - and sometimes annoying - behavior.

Or just donate if you can’t do any of those things.
I like the introduction

> But my first attempt was a complete failure - I understood almost nothing.

This is how I feel every time I dig into something. Disappointingly, rarely do I have the time or focus to truly learn how something really works. Be it a library I am using, or a physics concept I want to learn more about.

Good for him for getting through it. I am adding this to my long ass list of things I would read if I could freeze time like that girl from the 90's TV show.
In the WWDC session on this, they demonstrated a simple app that sent uncompressed video frames captured from the camera over the network (I think using TCP, but I don't recall for sure) using BSD sockets and using Network.framework and reported 30% less overhead with Network.framework.

Which is to say, you're saying "detrimental impact on performance" and yet this seems to be a significant win over BSD sockets.
That well-developed language that they tried to improve on was C++, not Objective-C.
That makes no sense. The Guardian is not a local newspaper, it wouldn't benefit from higher taxes, and you don't need a subscription to read the BBC news.
For what it's worth, I have zero association with Crystal, but just happen feel that it appeals to me the most. You can see this on my GitHub too, all projects up until a week ago were Python.

And I chose Fibonacci as a fun little test which I even stated in the post. It should be obvious that this is not an overall indicator of performance for all use cases.

For many of us, Windows isn't our target platform so the Windows compatibility isn't a deal breaker. I understand that this is a big problem for many though and there is evidence that the Crystal team are on it; see https://github.com/crystal-lang/crystal/issues/5430.

Please don't take the post too seriously, it's not intended to be and clearly everyone will have different preferences and tastes as is the case with anything in life.
Newline is not equivalent to semicolon (or your last example would fail), but Ruby treats a newline as terminating an expression if in a production in the grammar where terminating the expression is valid.

In terms of "void", Ruby has no such thing - every expression has a value, though that value can be nil (and somewhat confusingly "( )" is an expression that evaluates to nil).

So your first example is two expressions, and evaluates to 7 when the whole thing is evaluated, not 3 - if you evaluate it in irb etc. you might see 3 because the first expressions is itself complete, and so will cause output.

Your second example is a list of the expressions "1 + 2" and "3+4", which evaluates to 7, because as for the first example, the last expression evaluated is what will be returned outside of a read-eval loop like in irb.

The last example is a single expression because "1 + 2 +" is a syntax error on its own.

I can understand you find it quirky, but you generally only need to consider that if you want to break up an expression you need to ensure it does not stand on its own.
You say "improper archiving procedures", I say they clearly weren't even trying to archive it.
Tbh I prefer my RDBMS to fail-stop rather than wreck my data like I just asked the Hulk what he thinks about not smashing ever again.
I'm not quite sure what you want to track but here are a few I use:

- Google Docs spreadsheet to track all aspects finances
- Google Docs spreadsheet to track work projects using GTD
- Pedometer+ (iPhone) to track steps (target 10,000 a day)

Perhaps you were more interested in time-tracking tools? I know that two-thirds of my time is typically working and sleeping. I don't do social media so no time wasted there.

There is an enormous list of time-tracking software (with ratings) here:

https://www.capterra.com/time-tracking-software/

The only one I have heard of is RescueTime, but there are tons more.

It's the things you can't predict that can mess up your schedule though - got home from a garden party Saturday and ended up having to deal with a swarm of bees that decided to come down our chimney...
Ask HN: Good books/resources that provide overviews of large industries?
Inspired by a tweet by Leo Polovets: "I'm interested in good overviews of large, interesting sectors like logistics, fintech, ecommerce, etc. What are people's favorite resources for these (and other!) sectors?"

For example:

- Shipping Industry, Book: "The Box: How the Shipping Container Made the World Smaller and the World Economy Bigger"
Given the way Steven Sinofsky team contributed to the political mess of Longhorn/Vista, followed by WinRT split and the mess it brought to Windows and .NET eco-system, he is probably not the best authority to pay attention about programming languages and eco-systems.
Scientific plotter Veusz 3.0 is actually Veusz 3D
The !g bang just redirects to you Google with the search query.
Yes, this made me want to reach for a safer language, I could see the potential buffer overflows loud and clear:

void bmp_init(void *, long width, long height);
I see your point. I'm also puzzled by how Americans seem to talk about Spanish-speaking people as if they are some kind of race.
Apple doesn't agree with you.

"Swift is a successor to both the C and Objective-C languages."

-- https://developer.apple.com/swift/
Since this looks more like advertising for a project I'll offer my 30 second review.

- Regardless of two-tone scheme chosen the icons look pretty awful

- Many icons made me think what they might mean. The first rule of this type of visual design is: don't make me think.

Keep going. You'll make it eventually.
Incentivize him to make money for himself?

You are talking as if capital gains don't increase efficiency the company, help produce more goods and services for the people or create/eliminate useless jobs via automation. He only gets to keep money for the value he creates for the society. Society gets to keep the value.

Now he might be corrupt or using loopholes, but that's smth we need to fix.
The ranges proposal should make it possible to do all of those fairly elegantly too.
I also think it's a question of community management. Before Swift was introduced, the iOS dev ecosystem was naturally composed of people who were comfortable enough with Objective-C. Then Apple suddenly released a language that reversed almost every single design choice. Of course that was going to tear the community apart.
The FAQ (https://posteo.de/en/site/faq) says the do it because a domain has personay identifying information in WHOIS and they would need to store it.

I think for .de domains, you are required to have your personal address in WHOIS if you are not a company.
Google's Bulletin is hyperlocal, https://searchengineland.com/google-bulletin-hyperlocal-news...
You are American (Latin). Western means not-communist, since almost the entire world favors collectivism over individualism, almost no culture is 'western'. The default position is socialism, in the case of the North America colonies (post revolution) the model of ancient Greece was re-imagined to create a new type of country, so far it has been highly successful yet not very equal. this means if you work hard you can provide for yourself but if you work smart you can leapfrog a lot of hard workers and if you work hard and smart you can become filthy rich and start manipulating the entire system. the checks and balances and freedoms in place are supposed to limit some of the economic imbalances when a ultrarich guy like Rockefeller with Standard Oil or Bezos with Amazon wants to make himself defacto king. If you want a comparison with ancient Rome, Trump is Crassus, and the outrage and resistance to his nomination and presidency hints at an established dynastic patrician class of American politicians who refuse a common businessman to infiltrate their halls of power.

If you prefer to be a competitive individual who is only compelled by their own inner morality to help others you are western. If you prefer to live in a society where everyone thrives and there is broad equality, safety and harmony then you are of an eastern mind. The argument of having both or a mixture becomes a contentious historical and political issue, having your cake and eating it too. China is making a strong attempt at blending these two ideas into a new political theory, spearheaded by Xi Jingping's One Belt One Road Initiative and the addition of new member states to the SCO (Shanghai Cooperation Organisation).
>No, the point you're pretending I'm missing is that there is this potential

No. You are not missing the potential. But you do not seem to get difference in magnitude. One is incremental, reviewed safety enhancement, Other is unpredictably catastrophic.

You only seem to grasp very superficial aspects of my comments, which is why I requested to give some thought before responding. So I think there is some kind of barrier. But it is not of language. but for lack of a better word, I think it is of a lack of enough shared sensibilities..
Agreed. The beginner solution to get something renderable should be:

> cpm install cairo

And then in the source file:

import cairo;

(I think package manager, build system and modules need to go hand in hand)
> many IT systems will schedule some tasks during the night when there is not much going on

Indeed, it’s natural that we do this but kind of funny when you consider that our machines now have their own circadian rhythms in tune with ours.

What might our IT infrastructure look like if humans evolved to sleep far less or not at all I wonder!
Does anybody have a better way to kick off my low level programming journey?

How much do you recommend "The C Programming Language" for someone who just used Java / Python, and wanna start learning C and low level?

Do you recommend learning "current" Rust as a first low level Lang.
Thanks a lot for the encouragement, it means a lot :)

It is tough to read criticism but it's always a good opportunity to learn. The comment about mypy for example was correct and I'm pretty sure I'll be trying it out on my next Python project. I've updated the blog post with minor amendments and corrections based on the feedback here.

Indeed this was my first time on HN (which took me by surprise) :)
I can’t find any electric scooter DUI records on a quick
skim. I wonder how this will play out?
Stockholm syndrome... :)
I once met a guy on a train, who turned out to be a multi-millionaire, who told me his investment strategy was based entirely around this very phenomenon. I still keep in touch with him from time to time. Fascinating guy.

More personally it annoys the hell out of me and I avoid doing it. It's the same of the train. I had a woman get very ratty with me the other day because I didn't stand up just because everyone else did (she was window and I was aisle). I wouldn't have minded but we were at least five minutes from arriving in the station!

There are probably all sorts of studies on this but I suspect the main reasons are 1) herd mentality 2) impatience. The levels of impatience I see on a daily basis are truly scary.
AMD has been doing a lot of hardwork to get their stuff into mainline (AMDGPU as a recent example) and they opensource a lot of their GPU stuff on github.

On the CPU side, AMD has patched Linux way before Ryzen was available in shops and has been contributing various patches afterwards.

I'd say they are working to get a decent track record for their Ryzen and Vega lineups.
Yeah but those are hard...
Snark aside, the demographic of this problem will be important I’m sure.
Is it such a huge killer outside gaming benchmarks? And even then, the extra power is useful only if you jumped on the 4K bandwagon.

Personally, consider the amount of random crap that i run, I'd rather have more cores. And more importantly, 80% of the performance for 50% of the price is just fine(tm).
How would the smaller units handle larger ops and convolutions, RNNs and others? Even assuming custom chips, all that heat that is generated (which gpus use large fans and heat sinks for dissipation) has to be removed somehow. Won’t that be a problem?
The C Programming Language is about the best book you can read to learn C, in my experience. Then go work on a non-trivial project like writing a command-line calculator.
Apple is closed source, so we really don't know if they respect our privacy now, and in the future.

Also, they may work with the US government, even if they say otherwise, and people from both the US and other countries may not like that idea.
Correct. Powerful enough embedded devices are now defacto everywhere. We just released an open source computer vision and machine learning library developed initially for a French conglomerate specialized in IOT devices.

The library is cross platform, support real-time, multi-class object detection and model training on embedded systems with limited computational resource and IoT devices.

https://sod.pixlab.io

https://github.com/symisc/sod
You would have thought so, but many of the people who are the first to stand up rarely get up and walk around during the flight. That's what I've observed anyway, and one of my hobbies is looking out for such oddities... :)
> And just think of nighttime workers. Obviously their daytime sleep counts...

I think the quote is more an aphorism than rigorous guide. The framers of the quote probably didn’t anticipate the night shift ;)
Patents never made sense for software, but the horse has bolted and the law doesn't look like it's changing soon.

Defensive patents made sense until it turned out that most offensive action was from patent trolls who are not trying to create a product so they don't need to defend anything.
> but I also believe that the Western policy of hoping that welcoming in China would lead to greater democratic freedoms was one of arrogance.

I'd probably go with 'naivety' or 'over-optimism' rather than arrogance.
Umm. Yeah. No.

For cryptography purposes, yeah, not random enough. But to pick a name out of a list of names that is probably pretty randomly loaded into excel, I'd say yes, this is random enough to be fair.
The problem is not the RNG here. Problem is the trust to the guy in front of Excel, and this process is not verifiable.
Keep in mind that AMD has an inherent advantage: the Zen architecture and Glue.

When AMD fabs a TR2 they have to find 4 good Ryzen dies which are fairly small and they make a lot of them since they are part of the entire lineup. Once they have 4 good dies, they get glued together.

If they wanted 64 cores they'd just have to look for 8 good Ryzen dies, halving their yield compared to 32.

On the Intel side they have to increase the silicon area and then hope that all 64 cores are capable of full core speed in the current setup.

Glueing CPUs together makes it cheap to scale at little cost.
I really like this[1] talk from DHH on the subject, where he talks about the misconception of many programmers that we are doing science rather than something creative. While laced with hyperbolic statements it is at the very least thought provoking on some of the things that we do as developers.

1: https://www.youtube.com/watch?v=9LfmrkyP81M
But Sweden is completely capitalist?
Why yes, thank you for the excellent segue. Pomodoro [1] is a no-frills minimal macOS app I wrote in Swift. It does its job, looks ok, and doesn't have ads.

[1]: https://github.com/apas/pomodoro
Those can uniquely identify me

So does your resolution. And that's hard to mask because JS usually needs to know it.

If you're not using the browser fullscreen, chances are that you're using a unique innerWidth+innerHeight.

As unsatisfying as it is, the current best solution seems to be not to care about privacy most of the time, and then take privacy seriously when you do. Whonix is excellent for this.
For Android, there's Lineage OS and microG
Having listened to the above youtube video, I think resemblance to allemanic might be coincidental, as it is so often.

Judging from the pronunciation, I would also put some "idioms" of this dialect in Dutch/Flemish regions (there is maybe a distinct polish influence in there that throws one off?).

As so often for me, the written word it seems is way more understandable than the spoken word. I had the same experience with Swedish. Weird how some languages kept similarities in writing longer than similar pronunciation.
I am ready to join any venture in creating local news. I am a capable writer with above average capability and means for generating local content. I have applied to every local paper in my area and have never once received a call/email back. I won't stop trying, but if anyone here is attempting a project even remotely pointed in the direction of local,online-or-paper news, i'd appreciate your consideration. I'm happy to start at minimum wage. I just want to write news in my spare time.
Is 'Software 2.0' something that is introduced in the video or is it some bullshit-bingo term that I have missed?
We've been working on something that has yet to be added to this list, but I feel it's worth mentioning.

It's a self-hosted OS alternative to Google Analytics, much like Matomo (formerly Piwik) but less focused on developers and way more opinionated in terms of what data is visualized.

It's called Fathom Analytics[1]. Eventually we want to provide a paid hosted option much like what Ghost is offering to make sure we can keep on supporting it. For now, our development efforts are paid out of our own pockets.

[1] https://usefathom.com/

[2] https://github.com/usefathom/fathom
Apple has no idea what’s next, so it’s just banging on the same old drum
The Lifespan of a Lie
Extended career breaks work magic for me too. I recently took six months away from work and it was sheer bliss. I was doing some techie stuff - but only things I really wanted to do and didn't force myself. I did a lot of sleeping, walking, eating good food and generally relaxing. Worked like a charm and I went back to work reinvigorated.

I do think though if you are significantly burnt out then a year off might be necessary in order to fully recover.
Forks are created for all sorts of crazy reasons. Perhaps someone has emoji creep via Unicode?
The gaming benchmarks are a bit meh since in most realistic builds the GPU will be the bottleneck, not the CPU (unless you buy a 1080Ti with a Ryzen 3 or i3, though in that case all help is lost).

More cores do benefit if you run stuff besides the game, which most people do.
And why should the standard be encumbered with a toy API that's only useful for beginners (it's not like the rest of the standard library is exactly beginner friendly).

And it's a bottomless pit, what use is drawing alone if you can't interact with the program? If you draw something, you need a window to draw into. You need a portable application entry because the standard main() is useless (think of Android, iOS and HTML5 via wasm). You need some sort of window-management. You need at least mouse and keyboard handling (and also consider devices which only have touch input). Want to render a hiscore? Now you need text rendering too. A button to start the game? Do we add a complete UI system like Qt?

And that's just for getting beginners to write a little interactive toy program, all of this will be fairly useless for 'real' applications.

Sorry to be blunt, but the whole idea was rubbish to begin with.
> Western means not-communist,

No, it doesn't.

> since almost the entire world favors collectivism over individualism, almost no culture is 'western'.

You can favor collectivism and still not be communist, so that doesn't follow even if the preceding claim were true.

> The default position is socialism

No, it's not, and you seem to be conflating socialism, collectivism, and communism, which are not the same thing.

> in the case of the North America colonies (post revolution) the model of ancient Greece was re-imagined to create a new type of country

No, it wasn't. While classical references (Roman as much as Greek) were trendy at the time, the basic model of government was very closely modeled on contemporary European models with vary slight tweaks.)
In the U.K. (where I don’t live) the supermarkets used to have you put 1 or 2 pounds in them, which you got back when you took it back.

You would be amazed what people will do for a small amount of money.
The Moral Implications of Our Apps
Maybe I'm missing the obvious, but would you mind to elaborate how this strategy works?
I remember when I moved away for college I was so shocked at how quite a few people basically couldn't look after themselves at all. I ended up teaching one guy I lived with how to do the most basic things. I actually had to show him how to put a duvet cover on, how to boil rice, how to use a washing machine, the fact that if a chicken fillet is 50% pink on the inside is not yet finished. He had never done any of these things himself before. I should have seen the warning signs when he moved in and his mother was unpacking and folding his underwear and putting them in his wardrobe for him. He was the worst that I seen but there were plenty more that weren't that far off.
They have a hybrid mobile app, it's not as smooth as a native one could be, but as far as I'm concerned search works perfectly.
Coinrail – Cryptocurrency Exchange Hacked
One has to distinguish between training and inference when talking about "machine learning".
Training a model is a long and and resource intensive process, even if transfer learning is used.

Inference is much less energy intensive and could be done on small chips.

Regardless, I'm not as certain as the author about the future of ML on small devices. Some ML models are huge and needs to be updated frequently, therefore there is little sense in downloading those to small devices. In such cases, it makes much more sense to send feature data to a remote server that can generate a prediction within milliseconds, and then transmit that prediction back to the device.