jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> I don't think Rust can do exactly the same things via its borrow checking and its iterators, but I might be wrong

Reading http://nim-lang.org/manual.html#parallel-statement point by point (disclaimer, I think Nim is very cool, but safe parallelism is one of Rust's strongest points):

> Every location of the form a[i] and a[i..j] and dest where dest is part of the pattern dest = spawn f(...) has to be provably disjoint. This is called the disjoint check.

The type system guarantees disjointness when necessary: a mutable reference `&mut` is guaranteed to be the only way to access the data it points to at any given point in time and iterators over mutable references preserve this guarantee, so disjointness-for-writing is automatic.

> Every other complex location loc that is used in a spawned proc (spawn f(loc)) has to be immutable for the duration of the parallel section. This is called the immutability check. Currently it is not specified what exactly "complex location" means. We need to make this an optimization!

Rust generalises immutable to "safe to be used in parallel"; everything that is (truly) immutable satisfies this, but so do, for example, memory locations that can only be used with atomic CPU instructions, or values that are protected by a mutex. There's no way to get data races with such things, so they're safe to refer to in multiple threads.

This is captured by the Sync trait (types which can be used from multiple threads in a shared way implement it): http://doc.rust-lang.org/nightly/std/marker/trait.Sync.html

> Every array access has to be provably within bounds. This is called the bounds check.

Rust's iterators give in-bounds automatically, but there's also no restriction about requiring bounds checks or not. (What does this rule offer Nim?)

> Slices are optimized so that no copy is performed. This optimization is not yet performed for ordinary slices outside of a parallel section. Slices are also special in that they currently do not support negative indexes!

I'm not sure what this means in the context of Nim, but passing around a Rust references never does a copy (even into another thread).

(Disclaimer 2: it's not currently possible to pass a reference into another thread safely, but the standard library is designed to support it, the only missing piece is changing one piece of the type system, https://github.com/rust-lang/rfcs/pull/458 , to be able to guarantee safety.)
Those statements just blew the whole article for me. Feels like an article that was supposed to be about identity and labels has an overt agenda/chip creeping in. Those quotes so far out of left field.. They feel really out of place.
I'm struggling to remember the novel, but there was another book where some aliens created an antimatter-generating system around a star, using the dip in the star's brightness to tell if another civilization was tapping it.

One of their N-removed feudal client races would then come and conquer your primitive society, unless you managed to decode the rest of their message and further demonstrate you were advanced enough to operate your own government across relativistic distances and timespans.
Can't wait to go camping with my 53 inch LCD screen in my backpack LOL.
How does your team successfully enforce a maximum line length while having a tabs-only policy? I know it's possible to do this, but in my experience, most teams I've encountered that have a tabs-only policy end up with lines of code that go on for miles because enforcing a maximum line length while having a tabs-only policy is more difficult than doing so while having a spaces-only policy. Long lines of code are especially annoying to people such as myself who have their editor split into multiple 100-character wide panes.
turn it off tomorrow, and everyone would be screwed

Could Google stop offeringing Google Apps at some point? It could happen. Tomorrow? No way. They have shown that they give people time and options when they no longer want to provide a service. Google Apps would be no different and they would probably even work a lot harder at making that easy.
To keep the stink away from others.
Nobody owes you a damn thing. Suck it up, move on, and don't get so emotionally wrapped in a single opportunity ever again. You'll be disappointed every time. Job searching is a numbers game. The more opportunities you pursue, the greater the chance that you'll land one.
From the HN guidelines, found here: http://ycombinator.com/newsguidelines.html

> In Submissions
> ...
> Please submit the original source. If a blog post
> reports on something they found on another site,
> submit the latter.

In that spirit, here is the link to the Fujitsu report:

http://www.fujitsu.com/global/news/pr/archives/month/2010/20...
Well I was actually being sarcastic about sending them the invoice, it was a joke.

As for my response to negative feedback, I simply stated that if my story isn't interesting, he was free to ignore it or flag it. HN has tons of stories submitted every minute. I don't see a reason to comment in some, asking about each's relevancy to HN. Thanks :D
It's a little gamey, but quite a lean meat so the flavour isn't overwhelming.
Moose.

Well... somewhere between chicken and beef but chewier. Moose is more beefy than chickeny.
I can’t seem to find any information on how long the battery lasts. Is it on their website anywhere?
Yeah, but there's no release of docker daemon for mac or windows. You have to run a linux VM and install and use it there. Docker desktop basically wraps that VM process up into a little gui app. If you're willing to do it yourself then yeah a simple virtualbox VM can run docker without issues or license fees.
My friends that I’ve taken to masquarades (or just worn fun masks to clubs with) have said similar things.

Its like despite being goofier and less conspicuous, they feel so much more free
So preserving key order is... nice for some things, but what's nice about JSONB is that it's optimized for reading and querying.
Only if you have any sense and a clue.

Some people don't do that and maybe learn the hard way that it's not good to be too genuine all the time with everyone.
Which minorities
> Funny, was just the other day praising duck tape and how it can seemingly solve close to any problem in the world

The universal rules of DIY: if it moves but it shouldn't, apply duck tape. If it doesn't move but it should, apply WD40.
I'm still supporting a legacy app running PHP5 and Java 1.4
Classier 1 board 4chan, without any pagination. Other chans have the semi persistent identities too, and other features that 4chan lacks.
Regarding the stackoverflow link:
I think it's telling that the accepted answer is the one the poster wanted to hear (i.e., a very optimistic estimate). I wonder how often such things happen on Q/A sites, and how often it ends up misguiding someone.
There is no good description of the program, but if the program is unkillable, it's an attack. root should be able to kill stuff, if root can't, that's a big deal.
odd, it doesn't even spell out "oll korrect" anywhere in the article.

http://www.straightdope.com/columns/read/503/what-does-ok-st...
I chiseled a good hole in my left middle finger about a year and a half ago. Sliced two of my tendons. Thanks to a quick surgery its all back and working, with a near imperceptible loss of dexterity.

The recovery process was amazing. I'm tremendously thankful for my 2. If you don't play an instrument yourself, take time some time to watch someone who does up close. Look at them move!
Congratulations Anish and Jeson! These guys are amazing entrepreneurs who executed like crazy over the past few years.
The big thing is that it's unkillable (even by root) because its chewing CPU while in running kernel code.
What if someone else told you that if you use bsdiff you should donate to FreeBSD?

Keep in mind that Theo is not the author of OpenSSH.
Pretty nice. Some comments:

* the url should probably be something like mechanicalteeth.com/switch. Or throw some keywords in the URL for SEO purposes (/ipad/switch-multi-user-web-browser/).

* the "coffer" graphic breaks consistency with the rest of your graphics. Not everything needs to be a screenshot, but if everything else already is...

* the dark bar should always be at the same height on the page.

* I'm not sure I like the moving (as you from page to page) "available on the App Store" graphic.

* Your headings look a bit plain next to your header, and next to Apple's (over)-slick websites.

* I'd add some more space about the tilde (~) in the header, especially to the right.

* The contrast between your gray page and white form is rather large.

* I was not actually aware that there was a form until a minute ago.

* The feedburner link throws a 404.

* The purpose of the form isn't very clear to me - you have no blog that I can see, almost no content on Twitter. Are you trying to build an audience (you'll need more content), is this a support channel, or..?

Notwithstanding the above, I think it does look nice and may be useful to the iPad-using part of humanity. Good luck with it!
I don't recall Signal ever having made implausible claims about traffic analytic attacks. I also don't buy into the idea that platforms are as trustworthy as their source release policies are orthodox.
A system which is 12 years old, of which many people have not heard about, don't understand, or may not even care to understand. In some countries its illegal to use. Most countries have unfriendly tax treatment (capital gains on your coffee purchase). Can't be paid in it. Can't yet pay your federal taxes in it. Uncertain if the government will one day ban it.
I don’t think this is true, but I also don’t think most of us are irreplaceable. For example, Jim Keller seems to make or break chip design projects.
Here's the specs: https://specs.status.im/spec/10

That's correct. It uses Waku for routing and messaging, but the Waku nodes are Ethereum nodes with Waku v1 enabled.

Here's more from VAC, the org behind Waku and their plans for v2: https://vac.dev/waku-v2-ethereum-messaging
It's about Samy Bengio (who is Yoshua's brother and technically related). It is confusing though, and the title should be updated to avoid confusion.
I guess it depends how we're defining "black box".

T2 and its firmware could be completely open source - arguably its no longer a "black box" because its completely transparent now - but unless you have the keys you still can't reprogram it.
Telegram's open source story is certainly not great. I think the server is totally closed. Also the iOS code doesn't seem to be compilable and the repo doesn't even contain a license.
Some good material to follow, beyond the publicly accessible history of the project (which is long, since the fact that M113 was deficient was known before the final direction of the replacement was figured out), using somewhat popular formats:

https://old.reddit.com/r/WarCollege/comments/erpmjm/having_j...

https://www.secretprojects.co.uk/threads/truth-to-the-pentag...

And finally a bit on the background of the Fighter Mafia member who wrote the black PR book that was used as basis for the movie (PhD thesis on the Fighter Mafia/Reformers and their influence in decision making in both USAF and elsewhere):

https://krex.k-state.edu/dspace/bitstream/handle/2097/38768/...
Couldn't it just be that some scientists saw a problem with an experiment and used the hype to gather money to get that problem fixed?
> No. Your shares were _diluted_ by the company issuing new shares. Now your 100 shares are worth half as much.

That's not correct. A company sells shares in exchange for cash. That cash is owned by the company, which is represented by the shares.

Companies can't simply dilute away their shareholders like you're suggesting. The money raised by selling shares doesn't simply disappear.
Another good one by Philip Larkin:

Vers de Société

My wife and I have asked a crowd of craps
To come and waste their time and ours: perhaps
You’d care to join us? In a pig’s arse, friend.
Day comes to an end.
The gas fire breathes, the trees are darkly swayed.
And so Dear Warlock-Williams: I’m afraid—

Funny how hard it is to be alone.
I could spend half my evenings, if I wanted,
Holding a glass of washing sherry, canted
Over to catch the drivel of some bitch
Who’s read nothing but Which;
Just think of all the spare time that has flown

Straight into nothingness by being filled
With forks and faces, rather than repaid
Under a lamp, hearing the noise of wind,
And looking out to see the moon thinned
To an air-sharpened blade.
A life, and yet how sternly it’s instilled

All solitude is selfish. No one now
Believes the hermit with his gown and dish
Talking to God (who’s gone too); the big wish
Is to have people nice to you, which means
Doing it back somehow.
Virtue is social. Are, then, these routines

Playing at goodness, like going to church?
Something that bores us, something we don’t do well
(Asking that ass about his fool research)
But try to feel, because, however crudely,
It shows us what should be?
Too subtle, that. Too decent, too. Oh hell,

Only the young can be alone freely.
The time is shorter now for company,
And sitting by a lamp more often brings
Not peace, but other things.
Beyond the light stand failure and remorse
Whispering Dear Warlock-Williams: Why, of course—
As do those that play things automatically when you opened the tab in the background... only, the urge isn't so subtle... and usually involves one or more curse words.
>>I think all of the scripting languages have design problems that were solved before the languages were ever written.

I don't disagree. But many/most of those design decisions were made to ease learning path, etc.

I should know by now that it is hard to argue "worse is better" to a CL guy. :-)

(C++ is quite a bit more flexible than Java; what feature took so much more characters? afaik -- with modern libraries, you can be very productive in C++. It isn't used so much because of the pain, I guess...)
You should check out topicmarks. It does summaries in a very smart way from what I've seen. We'll likely start using it to do automated summaries for RSS content in our iPad app.
I did follow the electronics site (it was chiphacker.com previously but then got converted into electronics.stackexchange.com which caters to both electronics and robotics crowd). I find that it is a bad idea. I don't think it will die off but it will remain an hobby electronics site for the rest of the eternity. I don't think good EE people are that much into forming a community over the internet.

I am also against them answering stupid questions like "How do you calculate the resistance using bands on a resistor?". I know I know stackexchange wants to make all the answer available at one place but this is just stupid. Google can find you the answer, wikipedia is already summarizing the general knowledge, the why repeat an answer again and again?
Citrix is using Haskell for XenClient. Drop me an email, if you want to know more. My team at Citrix is using OCaml for XenServer. Both teams are in Cambridge, UK.

We are looking for people.
Thanks for explaining. I guess rbxbx was just curious, and did not think about the possibility of legacy code.
Ah.

I was expecting a full read/write interface within hot pot.
Right now, slight majority american, lots of english. Generally, there are a lot more american people on social networks then Brits so that's what I have and am likely to have in the future, about the same ratio.
There are so many very small things. Like Bitbucket adds a web-editor like Github, but the editor automatically replaces all new lines with \r\n and has no field for a commit message (corresponding bug not treated until today and only considered minor priority, maybe because most people use Windows anyway or what). Or the markup language that has the ability to highlight code but only in 3 or so languages. You don't even have the choice to switch to others. The wiki I have only used two or three times. Can't get warm with it either.
With ebikes you may not even break a sweat while riding. Really most of these are solved/solvable. I think the hardest part is just getting the political will for the infrastructure.
it's not a bug it's a feature, let's pivot
Another thing to consider is that in many areas it's not legal for cyclists to use the sidewalk.

Most sidewalks aren't appropriate for cycling. The exceptions I was describing are mostly found in big commercial developments, target, walmart, etc. Around me they tend to build wide sidewalks, well separated from the busy road. Here's an example:

https://www.google.com/maps/@38.9146941,-92.3196647,117m/dat...

But most sidewalks aren't like that they are crossed regularly with driveways and end at a road every block. Every driveway is dangerous because drivers just don't look for people moving at bike speeds(2-3x faster than a pedestrian) on sidewalks. I personally know two people hit while cycling on a sidewalk because somebody pulled into a driveway and didn't see them.

Imagine you're a cyclist, on the sidewalk, trying to cross a four-way stop. If you cross at the sidewalk, you're at extreme danger of being hit by a car making a right turn. This is called a right-hook.

The road infrastructure in the US was built without consideration for bikes and so it's really annoying to many drivers when cyclists use roads but that doesn't mean the right place for cyclists is on the sidewalk.
imagine trying to remember all those features.
Domain specific knowledge. Don't roll your own unless you really know what you are doing. Especially for anything finance.
Learn to meditate. It can cure anxiety.

Source: personal experience.
AOL may have to return to its profitable core business - dial-up. Yes, AOL still has millions of dial-up accounts, and those bring in more revenue than the content farms.

Somebody has to serve middle America.
Runs pretty fast with Chromium on Linux, but in Firefox it's pretty slow as well.
That's with a 2-core 1.7GHz i7

It's probably the physics simulation. Though random JS benchmarks show Chrome and Firefox to be approximately equal in JS performance on my computer, Chrome beating FF slighly on sunspider and the other way around with Octane.
Today, if it's vulnerable to an exploit, it's probably been exploited long before the vendor finds out about it. Patch-based security stopped working once the opposition became governments and organized crime, not script kiddies and email spammers.
I think the hype around Groovy was at its peak when folks were the most interested in having something like Ruby running on the JVM, and jRuby did not yet seem like a viable option. But even the hype for classic MRI Ruby has been waning, as developers look to do more with concurrency, and they discover dynamic everything-is-mutable languages have limits when it comes to concurrency. See Tony Arcieri's article "2012: The Year Rubyists Learned to Stop Worrying and Love Threads (or: What Multithreaded Ruby Needs to Be Successful)" and where he wrote:

"I’m talking about at Dr. Nic’s talk at RubyConf 2011, a little more than a year ago. Dr. Nic had a fairly simple message: when performance matters, build multithreaded programs on JRuby (also: stop using EventMachine). Now granted he was working the company that was subsidizing JRuby development at the time, but I didn’t, and I for one strongly agreed with him. Not many other people in the room did. The talk seemed to be met with a lot of incredulity."

So even among Rubyists, there has been growing interest in Ruby beyond the MRI, and if that is happening in the land of Ruby, then the argument for Groovy is that much weaker.

At the same time, the growing interest in dealing with concurrency certainly helped increase interest in Scala and Clojure, and furthermore, functional programming in general. If you are a developer who wants to harness the power of concurrency for greater speed, Scala and (especially) Clojure are full of interesting ideas for how to do that. Groovy, meanwhile, feels off-topic.
A stoic does not judge reality like that. He acknowledges that it did not work and moves on. He need not ponder about the fact that it did not work because it cannot be changed and no thinking should be done without a purpose.
Fun, but even after hundreds of generations the walkers are still pretty bad. How good would they be after thousands or millions of generations? Is it even feasible to create a decent walker using genetic algorithms?
This is one of the most helpful things I've seen posted on Hacker News all year. Thank you very much for sharing.
PilotLight Studios | Moorestown, NJ (Philadelphia Area) | Full Time | ONSITE or REMOTE

Python/Django Developer (junior and senior level positions available)

PilotLight is looking to add an experienced, full-time developer to our team.

We are a small, boutique development shop located in Southern New Jersey (Philadelphia area) focused on building web applications for clients large and small.

If you have experience with Python/Django or with similar MVC-Style frameworks (Rails, etc..) and have an interest in trying something new we would love to chat.

jobs@pilotlightstudios.com
I would love to see the USDA subsidize organic farming.
> How is it that we went through at least 40 years of incorrect diet advice without controlled studies giving us accurate and science based broad understanding of what actually made sense?

Funny. You really thought the government and industry were actually looking for the scientific truth, or otherwise had your health in mind.

Now that you have been disillusioned, you should start questioning other government policies. I'll spoil the fun and tell you what you'll find: It's all about commercial interests, and you can easily see which ones in retrospect by tracing where regulators go to work after they leave their government job.
Non-gaming applications: the metaverse, medical imaging, architectural visualization, telepresence/3D video conferencing, 3D photography, FPV piloting of RC aircraft, ...
I tried to read 10 tutorials already, each leaving me more confused than ever before.

I can understand that. The language has been changing so fast that most of the stuff on the Web is outdated or wrong. I just found a place in the official reference manual that's out of sync with the compiler, and sent in a note. (The lambda/closure syntax is still in a state of flux.)

Rust roughly follows C/C++/Java syntax, except that, like Go, it's a "name: type" language. Talking about ownership in code is new, as is the syntax for that. The ownership syntax is a bolt-on, and it shows. The lambda syntax is kind of weird; the designers went for conciseness over clarity. Some of this will take getting used to. The syntax is no worse than C++, and in some areas, better.

The syntax isn't the hard part, anyway. It's living within the ownership restrictions that's hard. It's hard because that's a design issue. There's a Rust port of Doom, and it has far too much unsafe code, because Doom's data structures were not designed with Rust in mind. It's not yet clear how big an issue this will be. The remark that 10% of Servo, the web page renderer, is unsafe code is a bad sign.

I don't have a personal opinion on this yet. I haven't written enough Rust code. I'm writing an RSS feed parser to get a sense of what it's like to deal with a complex tree in Rust. So far, it's going well, with no need for unsafe code.

If Rust can eliminate buffer overflows, dangling pointers, and memory leaks, that's enough to justify using it in place of C/C++.
I had a similar but less pleasant experience. I had decided to opensource an old side project of mine, that gets a good amount of users daily. And by that, it was just initially to make the repo public. But I had totally forgot about the mail server keys- this was a paid mail server, so you can imagine my disbelief when I get an email of a $1000 bill and a complaint saying that I had sent upwards of 250k emails with what seemed to be a iOS mail app malware email. Luckily it was resolved within a week with support.