skysight-inc/HackerNews huggingface dataset:
C# tooling is very sub-par compared to what exists in the Java world, and I'm not just talking about build tooling (package management is a tough problem and Maven/Gradle are not perfect but NuGet is just atrocious) but debugging/deployment tooling as well. It's an artifact of how C# was a closed-source product for so long, the first-party tooling is pretty good for basic stuff but try deploying it outside a Windows environment and the edges become viciously sharp. Mono is a joke compared to OpenJDK, and I can happily deploy my application on any of a half dozen web servers that provide some superset of capabilities of the official server.

I understand that's changing of course, now that Microsoft has open-sourced the core of the language and started pushing to get support onto Linux and other platforms, but they are still making up an almost 2-decade deficit here.

But yeah, Visual Studio beats the pants off Netbeans and Eclipse, while functional, is very clearly what happens when you let an engineer design a UI, everything is possible and nothing is easy.
Completely? I’m not sure. I need to try more Rust. But not having to write another CMakeList sounds pretty good for starters :)
https://en.m.wikipedia.org/wiki/Cannibalism : lots of info. Generic Wiki entry.
If you park millions of trucks perfectly legally across the country, you will almost certainly get erroneous tickets. Traffic wardens are not infallible - that's why we have traffic court.
They are special enough to cause serious harm to progress if patented. This was demonstrated many times. Since the whole point of patents is to promote progress, software patents should not exist.
Manufactures might stop, but aftermarket will pick up. It makes sense for aftermarket because Hondas there’s demand. While luxury vehicles are sold in lesser numbers and less demand for repair because of the type of target market who’d rather discard than fix.
doesnt this make you think that we shouldnt give websites the ability to control so much stuff? why cant we have a browser that has basic video, photo, text, forum, etc functionality baked in, with no nonsense like a turing-complete programming language and all the complexity and exploits that come with it?
Senior US advisors 'rarely if ever admit this' lesson, but it was also demonstrated when Libya gave up its nukes: https://theintercept.com/2017/07/29/dan-coats-north-korea-nu...
Show HN: A tiny, friendly, strong baseline code for Person re-identification
This sentence is basically a tl;dr:

> Sony trying to convert its very popular gaming service into an "entertainment" service demonstrates a lack of understanding about why people love PlayStation. It handles gaming very well, and attempts to broaden that are likely to be balked at by its most loyal users.

It seems like everyone is trying to become a platform that locks you in these days. You'd think that Sony's terrible history with security would keep people away, but that doesn't appear to be the case. I'm not sure if I agree with the author's conclusion; while I'm personally a fan of compartmentalizing everything, I'm not sure if others share my enthusiasm. For example, I'm quite happy with my Nintendo Switch since I only use it for gaming, but I've had friends express their displeasure at the general lack of apps (e.g. web browser, Netflix, Hulu, etc.). My guess is that we have different perceptions, i.e. gaming device vs multimedia device.
Well, duh. If I have a finite amount of time I'm going to treat an electronic glass sandwich with more care than a box with a steel frame in it.
My friend was quoted $1,500 to fix an ignition problem on his 15y Mercedes. You can buy an entire 15yo Honda for that much :)
For what it's worth, Git has a command for an instant web server https://git-scm.com/docs/gitweb
Depends on what you want to do I guess.

You'd need a SoC variety of FPGA with a memory controller as I didn't see one in this code base. Putting this in an FPGA seems feasible.

But I see some challenges. It looks like it's a Harvard-architecture core. That means separate buses for data and instructions, which is not common outside of embedded or specialized systems. I'm sure you can setup GCC to work with this, but it would be a project.

You could build (or find) a memory controller that can multiplex separate instruction and data buses to a single memory space... decide data will be in memory range A and instructions in memory range B, and inform the linker where to put code and data.

I'd probably start by downloading whatever free versions of the fpga tools the vender's offer and see if I can synthesize the code with any of the targets and how well it fit. (assuming someone else hasn't posted that info already). If it isn't going to fit in anything supported by the free version of tools, I probably wouldn't go any further with it myself.

Assuming that it did fit, I would switch gears and would build a simulation testbench, and start tinkering to see how it worked as compared to the docs. If it really is strictly harvard, I'd build a bridge to the FPGA's memory controller that could map two buses to a single memory space. If I got that far I'd start working setting up a compiler and linker to map out code and data partitions to that memory space.

At this point you might be ready to build all this and load the FPGA, but you have no peripherals (like ethernet or a vga). I'd consider slaving it to a raspberry pi or something like that. I saw a debug module in the github repo, so that might be a good thing to expose to the raspberry pi. Or pick a simple bus like i2c and use that to get some visibility from the r-pi into the risc-v state and bridge over to the ram.

---

Another direction you could take would be to get something like a snickerdoodle. I believe it can boot linux with the arm core in the FPGA, and it has the peripherals you need like ethernet(wifi) and access to an SD card. So the direction I would take there is trying to supplant the ARM core with the RISC-V. So the effort there would be to disable the ARM core, which ought to be straight forward, and build a wrapper around the RISC-V core to be able to talk to the peripherals in place of the ARM.

Given that it's an ARM core, I'm sure all the internal busing is AMBA (AHB/APB/AXI), so it's probably pretty reasonable to try this.
Slow and boring like cancer?
This person got pretty far with the Marvell ARM WD drive controller in 2015: https://www.malwaretech.com/2015/04/hard-disk-firmware-hacki...

Also see: http://spritesmods.com/?art=hddhack&page=1
> The footprint for nuclear is tiny, it might be competitive.

Parent noted distinction between nuclear fission and nuclear fusion. I'm assuming here you're talking about nuclear fission exclusively.

In any case, how sure are you that the footprint for nuclear is tiny?

As I understand it the construction / commissioning costs are enormous - more than a coal or gas plant (eg. a breathtaking volume of concrete). The costs of acquiring fissionable material seem to often be overlooked, but mining (currently) requires fossil fuels.

That's before you get to decommissioning costs (which may not be within the 'footprint' category) or waste management.

The UK's recent experience [1] trying to get one nuclear fission plant up and running provides an abject lesson.

[1] https://jeremyleggett.net/2018/08/22/why-the-uk-nuclear-rena...
Honda Odyssey is way better than anything American made.
Have you ever been hungry?
Luxury brands are very likely to have first owners that turn over new cars rapidly regardless of how well they hold up.
Yep, they do. I know several and have been through part of the interview process (I withdrew because Google takes too long, and I went to FB instead of dealing with their bullshit).
It would be their dream come true if the hw oss community (very small) takes this up and develops it into something huge like for sw projects. There is so much manpower needed to develop these kinds of things - what better way than oss.

However, too little, too late, ee industry. An entire generation of top tier college students have pretty much skipped ee.
I would think Oracle's stance on this issue would be deemed anti-competitive by the courts as were similar rulings in the past. What google did is exactly what AMD did with Intel's instruction set -- duplicated the api. What can of worms would this open up if suddenly you couldn't run your x86 mission critical programs on your AMD servers because of some insane copyright violation ruling? I really hope this decision gets overturned by the supreme court -- as it should.
About par with appointing a coal lobbyist to the EPA.
SDC alumni here as well with a couple of ML courses under my belt as well. Did any of these courses help you advance or pivot your career? I'm still struggling and looking for advice how to move forward into AI/ML (I have a Master in Mech as well). Any advice will be highly appreciated!
I skip them completely. If after I've made up my mind and I want to examine a detail usually the vine reviews has details of the product (not how good it is)... Or there would be a video posted by a vine reviewer.
Why a Single Aeroplane Seat Can Cost Airlines $300,000 (2015)
That's a huge assumption that people are informed on the issues, a thing a lot of people have been dishonestly pushing for a long time.
So in the cases where the drivers don't own the delivery vehicles, just deduct the fines from whoever was driving it at the time of the ticket.

I admittedly have no idea how these situations are handled by accounting, but that seems like it would be the solution to me.
Libya never had nukes to give up.
As China's military becomes closer and closer to Western standards, supply chain integration and Western business in China will dry up in response. Western companies will not want to do business with direct competition and even if they did, the US govt wouldn't let them.

If doing business in China means funneling new tech to the PLA that could result in theoretical American deaths, then we don't do business in China anymore.

A historical precedent would be the soviet union, where we wouldn't even let ball bearing be exported to Soviet block countries. You can already see this with the current chip wars.
My favorite early MSFT employee is Chris Peters. Peters was an avid bowler and used some of his money to buy the struggling Professional Bowlers Tour. The WHOLE tour.

https://www.si.com/vault/2000/11/13/292110/quick-strike-once...

https://www.pba.com/bowlers/HallOfFame/432
That was not a very tasteful joke, sorry about that, thanks for flagging it. I didn't post anything similar since then. I just noticed my account is rate-limited (I wanted to post a submission), is it linked to this comment?
5 years at the one that promoted me.
My first open-source project
Clicking links can be a problem in corporate environments where automatic login has been enabled on Internet Explorer and outbound SMB not blocked.

The phishing site immediately gets their domain ntlm hash, which can often be cracked to gain a password.

This can also be a problem in PDF and Word docs without the need to employ a 0 day. https://resources.infosecinstitute.com/steal-windows-login-c...

Also to note that password managers can help mitigate phishing, as they will not offer to complete passwords if the domain does not match.
Ask HN: What can AlphaStar tell us about imitation learning for autonomous cars?
I find it intriguing that DeepMind’s AlphaStar used supervised imitation learning on a dataset of 500,000+ human-played games. With supervised imitation learning alone, it was able to beat the StarCraft Elite AI bot 95% of the time, and get an estimated MMR that would put it in the Gold league — where the middle third of ranked human players are. So just with imitation learning, AlphaStar was able to get to roughly median human performance (or at least we think so; I don’t know if it beat any Gold-ranked human players).

The Information reported (https://www.theinformation.com/articles/what-makes-teslas-autopilot-different) that Tesla is using supervised imitation learning to “directly predict the correct steering, braking and acceleration” based on the state/action pairs observed in human driving. Should we feel optimistic that what (apparently) worked for StarCraft will work for autonomous cars?
That idea was a story arc in a "Seinfeld" episode (for USPS).
Will car-loving Angelenos say yes to congestion pricing?
What would you use this for?
That sounds like considerably more work than I was hoping it would be. So the follow-up question, then. Who is this release for, in your opinion?
Oh my! The Goya painting has a name ..Filial Cannibalism with benefits and cons as well.. from: https://en.m.wikipedia.org/wiki/Filial_cannibalism

[...]Benefits

Satisfies current energy or nutrition requirements.

In a bad reproductive environment, cannibalism is a way to make a recouping reproductive investment.

Puts evolutionary pressure on offspring in order to make the offspring develop quicker.

May increase the reproductive rate of a parent by making that parent more attractive to potential mates.

Gets rid of offspring that take too long to mature.

Removes weaker offspring in an overproduced brood, which makes the other offspring more likely to be successful

Costs

Loss of fitness.

Transmission of diseases and parasites.

Decrease of success in current reproduction.
[..]
How is it cheaper? If Amazon has to decide to promote item A instead of the next Kindle reader or some other product, there’s certainly an opportunity cost. To blanketly state it absolutely costs less is too naive and merely an assumption.
Ten minutes a day
The interesting thing about "open-source cameras" in the sense of film is, the film chemistry and film coating methods are very much trade secrets.

Making up developer from base chemicals (metol, phenidone, hydroquinone, and so on) isn't impossible and some people do it so they can "tweak" the process a little bit.

The one thing I've never heard of anyone doing is making up a photographic emulsion from scratch at hobbyist level and coating a film base with it.
The problem is people like you redefining what risk means, then saying the people who define it properly don't understand it. The problem is people with small minds or an agenda on their small mind, redefining what is important to others, and calling them stupid. By your false definition, the risk of me getting hit by a car when crossing a street is less than the risk of me getting killed by the smog cars make. While quantitatively true for a statistical population, it is qualitatively false. And people's opinions are qualitative - they're based on a definable reason, not just explainable symptoms. Guess what: black people are 15% of the population but commit 50% of the violent crime, according to FBI statistics. Quantitatively. Does not mean that statistic applies to a single random person on the street and he can be arrested because he's likely to commit a crime. That's your logic applied to risk of getting stabbed.

Here's the risk as society that doesn't pretend to be purposefully dense defines it: when something goes wrong, how bad it is. Take all the coal plant disasters, and compare them to all the nuclear disasters. Now let's take a future disaster, the reason for which you don't know and cannot account for with "new design" which will be called "old and faulty design" in a few decades. During that disaster, looking at past disasters, do you want that destroyed power plant to be coal or nuclear?

Coal has no risk. Coal has a well defined, predictable, and understood small and slow detriment. You define that as risk. The world defines that as the opposite of risk.

Lived in Kiev for a year an a half, took a bus trip to Chernobyl.. Guess what they got in that huge area where no one lives (actually there is a crazy old lady who lives there, still in her house). Did you guess it? Yeah, fresh tree stumps.

That radioactive wood is cut down by shady companies for free, and shipped to europe and other parts of Ukraine. Out of it you get houses and furniture. Did you account for risk of sitting on a radioactive couch in a radioactive house when you claimed you fully understood "risk?" Ah, that's because to understand the risk of something you first need to understand what the English word means.
It could work if you allow arithmetic operators and/or their English names, or if you allow any ways of naming numbers other than with their decimal digits alone.

A simple example might be: "4 flowers, 4 cats, 4 dogs. The sum of all the numbers on this board is 4 squared."

Or: "4 flowers, 4 cats, 2 dogs. The sum of all the numbers on this board is 4²."
> I'm sure you can setup GCC to work with this, but it would be a project.

FWIW AVR is not only Harvard, but code memory addresses point to 16-bit words, and data pointers to bytes. Yet, gcc works great (mostly). It is mainly a matter of whipping up a good linker script and directing code and data to the appropriate sections. Not particularly hard, although Harvardness does leak into your C code, mostly when taking pointers to functions or literal sections stored in flash.

*mostly — gcc long ago stopped taking optimization for code size seriously. Unfortunate for uCtlr users, as for small processors like the AVR optimization for size is pretty much also optimization for speed. Gcc has had some pretty serious code-size regressions in the past — but mostly not noticed by people not trying to shoehorn code into a tiny flash space.
Also, don't forget that C# had async/await since 2012, 5 years before it was standardized in JavaScript. The only older mainstream (for its time) language to have coroutines is Turbo Pascal 7 in 1992, which was... also designed by Andy Hejlsberg.
I don't know why WD released this, but it would be useful for people building SoC ASICs that don't want to license an ARM core. Depending on the licensing.
My friend was quoted about $1,200 to replace the plugs and coil packs on his 2004 Fit at an independent shop. He ended up paying about $600 for them to replace one or two packs (forget which). Paying people to work on your car is expensive. vOv
Continuing to troll HN like this will get your main account banned as well. Please stop now.
I don't know if they’re a terrible publisher, and honestly I’ve never written a book.

I downloaded a picture book for my son that was Amazon published.

I remember this because it was free on prime day and it was one of the huge banners on their page that worked even when the site wasn’t working. So they do advertise the books they publish.
I believe the AI still has a direct API to the game and in the 10 matches it won it was able to effectively "see" and issue commands to the entire map all the time.

In the last match they used a newer interface where the AI had the same restricted viewport as a human and had to decide where to move its camera to both see what's happening and make actions. The player and commentators both noticed that this resulted in more human like play, and the AI seemed less able to micro multiple armies stretching beyond the viewport like it had in earlier matches.

The deepmind people said the restricted viewport did slow down training, but in the end it was able to get to the same skill level as the previous ones in the end.
Garden-variety politics is off topic on HN. Please don't post like this here.

https://news.ycombinator.com/newsguidelines.html
Meet Virginia Stopher, 19-Year-Old “Girl Hobo” of the 1920s
Most people are entirely unaware of how much data Facebook is collecting about them. Raising awareness about that is a noble goal, but it's not mutually exclusive with stopping Facebook from exploiting their naivety.
Please don't violate the site guidelines. They ask you to flag egregious comments rather than feeding trolls.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newsfaq.html
http://archive.fo/tjVoD
I wonder how things might be in Europe. We’ve owned BMW’s in the US for years. However, we get rid of them just before the warranty runs out. Cost of parts and maintenance is just too high.
No. I worked for years with software that had no way of changing history. It was never required.
I'd love to see a future with all renewables. But nuclear seems like a good hedge bet, or even just an interim.
you weren't kidding...
Seems like every scroll end adds a history item
We've banned this account. Please don't do signal/noise-destroying tricks on HN.

If you want the account unbanned, feel free to email hn@ycombinator.com with evidence that you own it and a promise not to do stuff like this.
I think we can all agree this is something completely different.
Yes, fossil fuels are an ongoing disaster, one that in the form of global warming has a capacity to possibly make the planet unlivable. But all the disasters of fossil fuels are invisible and thus provoke little reaction in the public - and moreover, fossil fuels have vast vested interests protecting them.

We need to come up with an alternative to this. Nuclear in the ideal could be that. But nuclear's track record is murky, nuclear's cost is murky. For all I know, solar and wind are X times less effective than nuclear though as mentioned real world costs versus theoretical costs are still problem. I mean, consider raw solar now is the cheapest energy source but maybe solar plus reverse hydro would be some proportion more expensive.

Thus if we're creating an alternative to fossil fuels, solar and wind seems like a clear real world win.

An nuclear requires huge upfront money because it requires huge upfront energy investment. This risk of nuclear isn't just disaster, it's that this huge investment fails to pay as calculated and this is a risk that's materialized in the past.
That's a really interesting criticism to make.

Can you specify a version control system which doesn't make it easy to lose uncommitted changes?
It's surprising to me that the RISC-V ISA specification is loose enough that a core could be considered RISC-V-compliant and yet also need a linker script to accommodate its peculiarities.
The solution is the company just pays the ticket. End of story.
To be honest, I just don't understand how we got to a shutdown. I mean the money is there... People pay their taxes regardless.

Is it that congress has not appropriated the money to those accounts? I wish someone could explain me the technicalities of government funding so we as society can lobby our congressfolks to make adjustments
I similarly have difficulty learning a concept when it's presented using real-world metaphors that aren't often actually expressed via code. This is how object oriented programming was taught to me: imagine a door object, which contains methods open and close, and it contains a knob property, which is its own object with functions to turn left and right, and so forth. Once you're familiar with OOP this might seem like a good way to explain the concept, but without a specific application to apply it to, it's difficult to see the purpose.
Data Engineer role is about building big data/streaming pipelines for data and often DevOps aspects of keeping such pipeline deployed and online. A boring, dead-end job. Avoid.

Make yourself both ML/DL master and SWEng and you'll be doing extremely well.
What do you want to do with it?

“Starting” is a bit ambiguous.

But I suggest that you first simple read the ISA specification. It’s surprisingly readable and if contains justifications for some design decisions.

After that, buy a small FPGA board and run a picorv32 CPU in it. Or one of the many other RISC-V soft cores.
For ARM, I have seen IAR emit unoptimized code half the size of GCCs output with speed optimizations enabled (which lead to slightly smaller code than size optimization!). When optimizing for size, IAR shrank the code size by another 1/3 to 1/2. When you are really strugging to fit functionality into a tight contoller because your hw engineers won't put in a bigger contoller, this is a dealbreaker.
Beautiful multiculturalism!